--- Ascent and descent ---
Here is a list of ways the player can move up and down:
Type of offense | Points
---------------------------------------------------------
Player kills a malicious monster | + 1
Per minute which player is online | + 1
Player mines Netherite ore | + 5
Player mines Diamond ore | + 4
Player mines Emerald ore | + 4
Player mines Gold ore | + 3
Player mines Iron ore | + 2
Player mines Lapislazuli ore | + 2
Player mines redstone ore | + 2
Player mines coal ore | + 1
Player kills other player | - 1000
Player kills villager | - 500
Player enchants item | - Enchantment level
Enchantment level:
If the item receives a level 30 enchantment, the player should get 30 rank points deducted. With a level 13 enchantment only 13 points deduction.
--- Questions ---
How can I trigger a command block if
a player kills a malicious monster?
a player mines one of the ores listed above?
kills another player?
kills a villager?
How do I have to arrange the command blocks in the best possible way so that I can save repetitions?
--- final words ---
I am happy about every tip and also thank everyone who contributes their part here.
Indeed with datapack you don't fill your world with command block but there's more.
It's easier to make complicated stuff with functions because you can simply call a function in another if you fulfill a condition.
Like you can just said for every player with 5 lvl, run function 1 without in all command in function 1 have to write "executed as @a if lvl =5"
You can do other stuff with datapack like creating loot tables, a group of block that you will use in your function, like creating a group with all green block and say "if a player walked on a block included in this group, kill him"
Also work for group of mob, even group of function.
I recommande you to check it. Now I never utilise command blocks for my maps
Oh and you can also have function that will run if you load the datapack, it's a good thing too
Dear community!
--- General ---
I'm currently working on a ranking system for a Vanilla 1.16.1 Minecraft server.
The complete system should be controlled via command blocks.
Please note that this is a multiplayer server.
--- Ranks and points ---
First, here is a brief summary of all ranks and their associated number of points, which enables you to advance to the ranks:
Ranks | Points
---------------------------------------------
Devine | +50000 -> +Infinity
Knightly | +20000 -> +49999
Noble | +12000 -> +19999
Well | +4000 -> +11999
Friendly | +1000 -> +3999
Neutral | 0 -> +999
Aggressive | -1 -> -3999
Malicious | -4000 -> -11999
Vicious | -12000 -> -19999
Horrible | -20000 -> -49999
Devilish | -50000 -> -Infinity
--- Ascent and descent ---
Here is a list of ways the player can move up and down:
Type of offense | Points
---------------------------------------------------------
Player kills a malicious monster | + 1
Per minute which player is online | + 1
Player mines Netherite ore | + 5
Player mines Diamond ore | + 4
Player mines Emerald ore | + 4
Player mines Gold ore | + 3
Player mines Iron ore | + 2
Player mines Lapislazuli ore | + 2
Player mines redstone ore | + 2
Player mines coal ore | + 1
Player kills other player | - 1000
Player kills villager | - 500
Player enchants item | - Enchantment level
Enchantment level:
If the item receives a level 30 enchantment, the player should get 30 rank points deducted. With a level 13 enchantment only 13 points deduction.
--- Questions ---
How can I trigger a command block if
How do I have to arrange the command blocks in the best possible way so that I can save repetitions?
--- final words ---
I am happy about every tip and also thank everyone who contributes their part here.
Best regards
RoyBlunk
Hello !
For what you want, it's not the best to work with command block, because there will be a lot of them.
I recommand you to work with datapack and functions, that will be more easy !
You don't know how work functions ?
No problem, I already prepare the datapack, you can just peak an eye (is that a saying? Sorry I'm french^^) on it and rework what you want.
If you have some questions, don't hesitate to message me.
The folder is to put in the "datapack" folder of your save. It's multiplayer free :]
https://www.dropbox.com/s/0ypwjw98q20tmtr/ranking.zip?dl=0
ps : Even if all it's already done, look at the code, it will surely make you progress
I like trains... OF CHAIN COMMAND BLOCKS !
Thank you for the datapack.
I already managed my problem with commandblocks. Yes, there are a lot of them but it works.
Whats the point of datapack's btw? Is it a smoother version of commandblocks but without putting them into the world?
Indeed with datapack you don't fill your world with command block but there's more.
It's easier to make complicated stuff with functions because you can simply call a function in another if you fulfill a condition.
Like you can just said for every player with 5 lvl, run function 1 without in all command in function 1 have to write "executed as @a if lvl =5"
You can do other stuff with datapack like creating loot tables, a group of block that you will use in your function, like creating a group with all green block and say "if a player walked on a block included in this group, kill him"
Also work for group of mob, even group of function.
I recommande you to check it. Now I never utilise command blocks for my maps
Oh and you can also have function that will run if you load the datapack, it's a good thing too
I like trains... OF CHAIN COMMAND BLOCKS !
Seems like a nice feature!
I´ll check it out, thanks!