New in the SCore config file you can define entities or blocks groups and then specify them in detailedBlocks or detailedEntities.
Example:
In the config.yml
entityLists:
ANNOYING_MOBS:
- CAMEL
- STRAY
- DROWNED
HOSTILE_MOBS:
- ZOMBIE
- SKELETON
- CREEPER
- SPIDER
blockLists:
STUPID_BLOCKS:
- BARRIER
- BEDROCK
- DIAMOND_ORE
ORES:
- COAL_ORE
- IRON_ORE
- GOLD_ORE
- DIAMOND_ORE
- EMERALD_ORE
In you item/event/block config:
detailedEntities:
- BLAZE
- BOGGED
- BREEZE
- SCORE:ANNOYING_MOBS # Expands to CAMEL, STRAY, DROWNED
- ZOMBIE
detailedBlocks:
blocks:
- SCORERES # Expands to all ores
- STONE
- !SCORE:STUPID_BLOCKS # Blacklist all stupid blocks
Hello, many SCore commands have been renamed for a better format.
Example TELEPORTONCURSOR -> TELEPORT_ON_CURSOR.
The old format still work
Also we are currently moving the wiki out of Gitbook you can already check it here: https://ssomar-developement.github.io/Wiki/
If you have suggestions don't hesitate to message me. Thank you !
Fix the custom command ADD_TEMPORARY_ATTRIBUTE to give attributes temporary.
It is now compatible with server restart and player disconnection/death...
Example: ADD_TEMPORARY_ATTRIBUTE attribute:BLOCK_INTERACTION_RANGE amount:5.0 operation:ADD_NUMBER time:30000
New SCore conditions (for all plugins)
New Player Conditions (6)
IfPlayerIsRiding: Check if player is riding any vehicle
IfPlayerLastDamage: Check player's last damage amount (number condition with operators)
IfPlayerOxygen: Check player's remaining air/oxygen level (number condition)
IfPlayerBedSpawnLocationX: Check player's bed spawn X coordinate (number condition)
IfPlayerBedSpawnLocationY: Check player's bed spawn Y coordinate (number condition)
IfPlayerBedSpawnLocationZ: Check player's bed spawn Z coordinate (number condition)
New Entity Conditions (5)
IfEntityIsInWater: Check if entity is currently in water
IfEntityIsInLava: Check if entity is currently in lava
IfEntityAge: Check entity's age in ticks (number condition with operators)
IfEntityLastDamageCause: Check entity's last damage cause type (list condition)
IfEntityVelocity: Check entity's velocity magnitude (number condition)
