
MMOBlock Mining & Gathering 2.6-Beta-1
Unblock the Fun, One Click at a Time with MMOBlock
-
New Command:
/mmoblock removalfordeletingplugin run this command in Folia environment, because onDisable event in Folia doesn't support removing entity, Folia run world data cleanup before disabling plugins, that's why removing entity doesn't work.
/mmoblock removalfordeletingplugin confirm you need to run /mmoblock removalfordeletingplugin first. - Important:
You don't need to run this command every time you want to shut down the server, this command is used to remove entities and custom blocks from this plugin when you want to remove the MMOBlock plugin.
Old Configurations:
#config.yml
entity:
example:
allowed_tools:
- DIAMOND_PICKAXE;3
- TOOL:STEEL_PICKAXE;5 #mmoitems
- STONE_PICKAXE;8
- _iainternal:iron_pickaxe_custom;8 #itemsadder
drops:
- RAW_IRON;3;0.8
- TOOL:STEEL_PICKAXE;1;0.1
- _iainternal:iron_pickaxe_custom;1;1
- profession;woodcutting;30
- exp;50;1
- command;give %player% diamond 1;1
New Configurations:
#/block/<id>.yml
<id>:
decrease_durability: 10 #removed configuration section
#No changes on other section
block:
type: bamboo_planks #nexo support
wide: 0
height: 1
allowed_tools:
"1":
material: DIAMOND_PICKAXE
decreaseDurability: 5
clickNeeded: 3
allowedDrops:
- exampledrop1
- exampledrop2
- exampledrop3
"2":
material: stone_pickaxe
decreaseDurability: 5
clickNeeded: 3
allowedDrops:
- exampledrop1
"3":
material: _iainternal:iron_pickaxe_custom
decreaseDurability: 10
clickNeeded: 3
allowedDrops:
- exampledrop1
- exampledrop2
- exampledrop3
- exampledrop4
- exampledrop5
- example_drop7
"4":
material: tool:steel_pickaxe
decreaseDurability: 10
clickNeeded: 3
allowedDrops: [] #empty will allow all drops
"5":
material: forest_pickaxe #nexo format
decreaseDurability: 10
clickNeeded: 3
allowedDrops: []
drops:
exampledrop1:
item:
material: raw_iron
total: [1-3] # drop lower amount is higher chance, higher amount is lower chance
chances: 1 # 1 is 100 percent
exampledrop2:
exp:
value: [1-50]
chances: 0.6
exampledrop3:
command:
value: "give %player% diamond %amount%" #%player% and %amount% is internal placeholder
amount: [1-10]
chances: 0.2
exampledrop4:
item:
material: _iainternal:iron_pickaxe_custom #itemsadder
total: [1-2]
chances: 0.3
exampledrop5:
item:
material: tool:steel_pickaxe #mmoitems
total: [1-2]
chances: 0.3
example_drop6:
item:
material: warrior_item #mmoidentifier
total: [1-3]
chances: 0.4
example_drop7:
profession:
value: woodcutting #mmocore profession exp
total: [ 1-30 ]
chances: 0.6
exampledrop8:
item:
material: forest_pickaxe #Nexo
total: [1-2]
chances: 0.4
Changelogs:
- Hologram Switch:
hologram: modern #can switch to legacy
- Drop Options:
entity: example: drop-options: ClientSideDrop: true PerPlayerDrop: true Lootsplosion: true ItemBeam: enable: true color: BLUE ItemGlowByDefault: enable: true color: RAINBOW
Changes:
- Hologram Part:
entity:
example:
hologram:
enable: true #enable/disable holo
customHolo: #hologram line
"1": #1 meaning line 1, line 1 on top
value: '<gradient:#FFA500:#F92986>Rainbow Ore</gradient>' #gradient usage
height: 0.4 #line spacing
"2":
value: '<#FFA500>Required Mining Lvl 1</#FFA500>' #hex usage
height: 0.4
"3":
value: '<#00FF00>[Click to Mine]</#00FF00>'
height: 0.4
"4":
value: item #identifier to use item display
id: diamond_pickaxe #item id
custom_model_data: 0 #support custom model data
height: 0.4
height: 2.2 #global height line
shadowed: true #or false
background: true
clickHeight: 1.4
- ProgressBar Part:
progressbar:
progressing: "&a|"
noprogress: "<gray>|"
prefixProgress: "&8["
suffixProgress: "<dark_gray>]"
barlength: 16
- New PlaceholderAPI:
%mmoblock_click_cooldown%
|
Current cooldown time in second |
%mmoblock_click_cooldown_max%
|
Max value cooldown time |
- Add Chunk Management
- Fix Some Issue while progessing
- Fix issue on /mmb reload command when the entity not near the player
- Fix /mmb remove all command, now /mmb remove all only remove mmoblock entity only
- remove /mmb get command
New Configuration:
#config file version 2
debug: false
lang: en-us
entity:
example:
send-title: "&eYour tool not matching!" # vanilla color code usage
send-subtitle: "<red>or Tools are too low</red>" # color code usage
click_cooldown: 0.5
action_bar: true
decrease_durability: 15
#model: iron_ore #model from modelengine
#on_click: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed
#ondeathanim: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed
respawn: 5
#death_delay: 1
hologram:
enable: true #enable/disable holo
customHolo: #hologram line
"1": #1 meaning line 1, line 1 on top
value: '<gradient:#FFA500:#F92986>Rainbow Ore</gradient>' #gradient usage
height: 0.4 #line spacing
"2":
value: '<#FFA500>Required Mining Lvl 1</#FFA500>' #hex usage
height: 0.4
"3":
value: '<#00FF00>[Click to Mine]</#00FF00>'
height: 0.4
"4":
value: item #identifier to use item display
id: diamond_pickaxe #item id
custom_model_data: 0 #support custom model data
height: 0.4
height: 2.2 #global height line
shadowed: true #or false
background: true
clickHeight: 1.4
block:
type: DIAMOND_ORE #for itemsadder custom block use like this <namespace>:<block id>, for Oraxen block use like this <block id>
wide: 0
height: 1
#conditions:
#mmocore-level:
# level: mining:1
# send-title: "&eYour Level Is too Low"
# send-subtitle: "<red>Minimum Level 1</red>"
#condition1: #can make more than 1
# first: '%vault_eco_balance%'
# second: 500
# operator: '>'
# send-title: "&eYour funds not met"
# send-subtitle: "<red>Minimum 500</red>"
sounds:
onClick: block.stone.hit
onDeath: block.stone.break
allowed_tools:
- DIAMOND_PICKAXE;3
# - TOOL:STEEL_PICKAXE;5
- STONE_PICKAXE;8
# - _iainternal:iron_pickaxe_custom;8
drops:
- RAW_IRON;3;0.8
# - TOOL:STEEL_PICKAXE;1;0.1
# - _iainternal:iron_pickaxe_custom;1;1
# - profession;woodcutting;30
- exp;50;1
- command;give %player% diamond 1;1
progressbar:
progressing: "&a|"
noprogress: "<gray>|"
prefixProgress: "&8["
suffixProgress: "<dark_gray>]"
barlength: 16
Changes:
- Hologram Part:
entity:
example:
hologram:
enable: true #enable/disable holo
customHolo: #hologram line
"1": #1 meaning line 1, line 1 on top
value: '<gradient:#FFA500:#F92986>Rainbow Ore</gradient>' #gradient usage
height: 0.4 #line spacing
"2":
value: '<#FFA500>Required Mining Lvl 1</#FFA500>;height=0.4' #hex usage
height: 0.4
"3":
value: '<#00FF00>[Click to Mine]</#00FF00>;height=0.4'
height: 0.4
"4":
value: item #identifier to use item display
id: diamond_pickaxe #item id
custom_model_data: 0 #support custom model data
height: 0.4
height: 2.2 #global height line
shadowed: true #or false
background: true
clickHeight: 1.4
- ProgressBar Part:
progressbar:
progressing: "&a|"
noprogress: "<gray>|"
prefixProgress: "&8["
suffixProgress: "<dark_gray>]"
barlength: 16
- New PlaceholderAPI:
%mmoblock_click_cooldown%
|
Current cooldown time in second |
%mmoblock_click_cooldown_max%
|
Max value cooldown time |
- Add Chunk Management
- Fix Some Issue while progessing
- Fix issue on /mmb reload command when the entity not near the player
- Fix /mmb remove all command, now /mmb remove all only remove mmoblock entity only
- remove /mmb get command
New Configuration:
#config file version 2
debug: false
lang: en-us
entity:
example:
send-title: "&eYour tool not matching!" # vanilla color code usage
send-subtitle: "<red>or Tools are too low</red>" # color code usage
click_cooldown: 0.5
action_bar: true
decrease_durability: 15
#model: iron_ore #model from modelengine
#on_click: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed
#ondeathanim: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed
respawn: 5
#death_delay: 1
hologram:
enable: true #enable/disable holo
customHolo: #hologram line
"1": #1 meaning line 1, line 1 on top
value: '<gradient:#FFA500:#F92986>Rainbow Ore</gradient>' #gradient usage
height: 0.4 #line spacing
"2":
value: '<#FFA500>Required Mining Lvl 1</#FFA500>;height=0.4' #hex usage
height: 0.4
"3":
value: '<#00FF00>[Click to Mine]</#00FF00>;height=0.4'
height: 0.4
"4":
value: item #identifier to use item display
id: diamond_pickaxe #item id
custom_model_data: 0 #support custom model data
height: 0.4
height: 2.2 #global height line
shadowed: true #or false
background: true
clickHeight: 1.4
block:
type: DIAMOND_ORE #for itemsadder custom block use like this <namespace>:<block id>, for Oraxen block use like this <block id>
wide: 0
height: 1
#conditions:
#mmocore-level:
# level: mining:1
# send-title: "&eYour Level Is too Low"
# send-subtitle: "<red>Minimum Level 1</red>"
#condition1: #can make more than 1
# first: '%vault_eco_balance%'
# second: 500
# operator: '>'
# send-title: "&eYour funds not met"
# send-subtitle: "<red>Minimum 500</red>"
sounds:
onClick: block.stone.hit
onDeath: block.stone.break
allowed_tools:
- DIAMOND_PICKAXE;3
# - TOOL:STEEL_PICKAXE;5
- STONE_PICKAXE;8
# - _iainternal:iron_pickaxe_custom;8
drops:
- RAW_IRON;3;0.8
# - TOOL:STEEL_PICKAXE;1;0.1
# - _iainternal:iron_pickaxe_custom;1;1
# - profession;woodcutting;30
- exp;50;1
- command;give %player% diamond 1;1
progressbar:
progressing: "&a|"
noprogress: "<gray>|"
prefixProgress: "&8["
suffixProgress: "<dark_gray>]"
barlength: 16
#config file version 1.4 debug: false lang: en-us cooldown: 1 # in seconds entity: example: send-title: "&eYour tool not matching!" # vanilla color code usage send-subtitle: "<red>or Tools are too low</red>" # color code usage decrease_durability: 15 #model: iron_ore #model from modelengine #on_click: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed #ondeathanim: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed respawn: 5 #death_delay: 1 hologram: enable: true customHolo: - '<gradient:#FFA500:#00FF00>Diamond Ore</gradient>' #gradient usage #first line not affect with height - '<#FFA500>Required Mining Lvl 1</#FFA500>;height=0.3' #hex usage - '<#00FF00>[Click to Mine]</#00FF00>;height=0.3' height: 2 #all line height clickHeight: 1 block: type: DIAMOND_ORE #for itemsadder custom block use like this <namespace>:<block id>, for Oraxen block use like this <block id> wide: 0 height: 1 #conditions: #mmocore-level: # level: mining:1 # send-title: "&eYour Level Is too Low" # send-subtitle: "<red>Minimum Level 1</red>" #condition1: #can make more than 1 # first: '%vault_eco_balance%' # second: 500 # operator: '>' # send-title: "&eYour funds not met" # send-subtitle: "<red>Minimum 500</red>" sounds: onClick: block.stone.hit onDeath: block.stone.break allowed_tools: - DIAMOND_PICKAXE;3 # - TOOL:STEEL_PICKAXE;5 - STONE_PICKAXE;8 # - _iainternal:iron_pickaxe_custom;8 drops: - RAW_IRON;3;0.8 # - TOOL:STEEL_PICKAXE;1;0.1 # - _iainternal:iron_pickaxe_custom;1;1 # - profession;woodcutting;30 - exp;50;1 - command;give %player% diamond 1;1 progressbar: progressing: "<green>|</green>" noprogress: "<gray>|</gray>" barlength: 16
Changelogs:
* Fix blank line show ArmorStand as Name
* Add customizable height per line on hologram
New Config:#config file version 1.4 debug: false lang: en-us cooldown: 1 # in seconds entity: example: send-title: "&eYour tool not matching!" # vanilla color code usage send-subtitle: "<red>or Tools are too low</red>" # color code usage decrease_durability: 15 #model: iron_ore #model from modelengine #on_click: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed #ondeathanim: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed respawn: 5 #death_delay: 1 hologram: enable: true customHolo: - '<gradient:#FFA500:#00FF00>Diamond Ore</gradient>' #gradient usage #first line not affect with height - '<#FFA500>Required Mining Lvl 1</#FFA500>height=0.3' #hex usage - '<#00FF00>[Click to Mine]</#00FF00>;height=0.3' height: 2 #all line height clickHeight: 1 block: type: DIAMOND_ORE #for itemsadder custom block use like this <namespace>:<block id>, for Oraxen block use like this <block id> wide: 0 height: 1 #conditions: #mmocore-level: # level: mining:1 # send-title: "&eYour Level Is too Low" # send-subtitle: "<red>Minimum Level 1</red>" #condition1: #can make more than 1 # first: '%vault_eco_balance%' # second: 500 # operator: '>' # send-title: "&eYour funds not met" # send-subtitle: "<red>Minimum 500</red>" sounds: onClick: block.stone.hit onDeath: block.stone.break allowed_tools: - DIAMOND_PICKAXE;3 # - TOOL:STEEL_PICKAXE;5 - STONE_PICKAXE;8 # - _iainternal:iron_pickaxe_custom;8 drops: - RAW_IRON;3;0.8 # - TOOL:STEEL_PICKAXE;1;0.1 # - _iainternal:iron_pickaxe_custom;1;1 # - profession;woodcutting;30 - exp;50;1 - command;give %player% diamond 1;1 progressbar: progressing: "<green>|</green>" noprogress: "<gray>|</gray>" barlength: 16
Bug Fixes:
- Make Itemsadder block unbreakable
- command "/mmoblock remove all" error fixes
New Config:#config file version 1.4 debug: false lang: en-us cooldown: 1 # in seconds entity: example: send-title: "&eYour tool not matching!" # vanilla color code usage send-subtitle: "<red>or Tools are too low</red>" # color code usage decrease_durability: 15 #model: iron_ore #model from modelengine #on_click: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed #ondeathanim: hit;0;0;1 #animaniton_name;lerpin;lerpout;speed respawn: 5 #death_delay: 1 hologram: enable: true customHolo: - '<gradient:#FFA500:#00FF00>Diamond Ore</gradient>' #gradient usage - '<#FFA500>Required Mining Lvl 1</#FFA500>' #hex usage - '<#00FF00>[Click to Mine]</#00FF00>' height: 2 clickHeight: 1 block: type: DIAMOND_ORE #for itemsadder custom block use like this <namespace>:<block id>, for Oraxen block use like this <block id> wide: 0 height: 1 #conditions: #mmocore-level: # level: mining:1 # send-title: "&eYour Level Is too Low" # send-subtitle: "<red>Minimum Level 1</red>" #condition1: #can make more than 1 # first: '%vault_eco_balance%' # second: 500 # operator: '>' # send-title: "&eYour funds not met" # send-subtitle: "<red>Minimum 500</red>" sounds: onClick: block.stone.hit onDeath: block.stone.break allowed_tools: - DIAMOND_PICKAXE;3 # - TOOL:STEEL_PICKAXE;5 - STONE_PICKAXE;8 # - _iainternal:iron_pickaxe_custom;8 drops: - RAW_IRON;3;0.8 # - TOOL:STEEL_PICKAXE;1;0.1 # - _iainternal:iron_pickaxe_custom;1;1 # - profession;woodcutting;30 - exp;50;1 - command;give %player% diamond 1;1 progressbar: progressing: "<green>|</green>" noprogress: "<gray>|</gray>" barlength: 16
Models from Model Engine are not reloaded when the model is not rendered by the player
#languages.yml
load_languages:
- "en-gb"
- "en-us"
- "id-id"
- "ja-jp"
- "ru-ru"
- "zh-cn"
- "zh-tw"
New Config Messages add:
player_message:
progress_reset_damage: "&cYour progress has been reset due to damage."
progress_reset_hotbar: "&cYour progress has been reset due to changing hotbar."
progress_reset_move: "&cYour progress has been reset due to moving away."
wait_before_interacting: "&cPlease wait before interacting again."
success_load: "&aSuccess Load MMOBlock."
reload_message: "&aConfiguration reloaded successfully."
no_entity_adjust: "&cNo entity found to adjust."
no_permit: "&cYou do not have permission to use this command."
usage_help: "&eUsage: /mmoblock <place|remove|reload|get>"
usage_place: "&eUsage: /mmoblock place <entityId> [world] [x] [y] [z]"
usage_remove: "&eUsage: /mmoblock remove <entityId|all>"
remove_command: "&cThis command can only be executed by a player."
success_remove: "&aEntity removed successfully."
all_removed: "&aAll entities removed successfully."
not_found: "&cNo matching entity found in your eyes."
not_found_1: "&cNo matching entity found in your crosshair."
error_execute: "&cAn error occurred while executing the command."
error_execute_1: "&cThis command can only be executed by a player."
get_facing: "&aYou have received the Facing Adjuster."
console_error: "&cConsole must specify world and coordinates."
console_error_1: "&cInvalid world specified."
entity_place: "&aEntity placed successfully."
And there are new updates to command place and remove to shorten commands, and updates to entity types in config have been removed.
Command Changes:/mmoblock place <entityId> [world] [x] [y] [z]
/mmoblock remove <entityId>
[]: optional
<>: required
Config Changes:
entity:
example:
type: ARMOR_STAND #removed
Add Oraxen block support and Fix Hologram Issue
examples
entity:
iron:
block:
type: amethyst_ore #Oraxen <BLOCK_TYPE>, Vanilla <BLOCK_MATERIAL>, ItemsAdder <NAMESPACE>:<BLOCK_ID>
wide: 0
height: 1
This is stable version with less bugs, and remove license for polymart version