![]() Maybe someone can experiment with the language courses and provide info on what they find. ![]() The course requires you to legitimately do certain tests within the course The course now requires you to spend a certain amount of time in each course in order to complete it. Currently, it's only by using /cmi attachcommand command. Option to define an items use amount, the amount of times the item can be used before being removed. The course went from needing 1 hour in the session to somewhere between 2 and 8 hours in the session in order for you to be able to complete the course Any item can contain one more more commands attached to it and commands will get performed on items usage. CMIAnvilItemRenameEvent - Fired on item rename in anvil. CMIAfkLeaveEvent - Fired when players leaves AFK mode. CMIAfkKickEvent - Fired when player should be kicked from server after being AFK. I'm guessing it's one of three possibilities. CMIAfkEnterEvent - Fired when player enters AFK mode. The same thing can be done with -1 or any value you want which will (if possible) change the current value by the appropriate value.Īnd after performing this command %cmi_user_metaint_deaths% placeholder will return 1 instead of 0, after the second time you will get 2, and so on.Javascript:(function())() So let’s add a command to eventCommands.yml file under playerDeath category.Ĭommand itself will look like /cmi usermeta increment deaths +1 -s this will increase current value by 1 without showing feedback message. After all, we want to increase this value when the player dies. ![]() So in this case lets use %cmi_user_metaint_% and our exact placeholder should look like %cmi_user_metaint_deaths% which will return 0. Now we can retrieve this data with %cmi_user_meta_% placeholder which will return 0.0 yes, it will return with fraction. The initial command will be /cmi usermeta Zrips add deaths 0 -s where Zrips is the player’s name who should get this, add will indicate that we want to add a unique date to the player, deaths are some custom name for this and it can be whatever you want, 0 is the initial value, and -s will simply perform this command without informing players. If command contains playerName then target player name will be used if possible. Use only one action variable, otherwise, last one will be used. So let us make a death counter for the player. CMI Specialized Commands Specialized Command Usage Works with: Ranks, Scheduler, Portals, EventCommands, Interactive Commands and Kits. This can range from some general information you want to add to the player to information like the death counter. This plugin not only enable normal teleportation but also cross server teleportation for networks using bungee. It adds a bunch of commands to create and edit portals and destinations. This command provides the option to add unique values to the player and reuse them when needed with %cmi_user_meta_% placeholder. An advanced portals plugin for bukkit made by sekwah41 designed to have a wide range of features which are easy to use. Both values need to be in a number format This will attempt to add a defined value to the existing one. Increment – Changes current value if one exists or creates a new one. List – List all recorded keys with their values Remove – Will remove the defined key and its valueĬlear – removes all recorded keys and values for the defined player cmi se lineNumber text - Changes sign text line to defined one. ![]() Will add in front of message to inform that this message visible only for you. cmi silence (on/off) - toggles public chat visibility for you. Load commands are instructions on how to load the program and are made up of C struct s, which vary in size depending on the type of load command. In case there is already a key with the same name, then it will be overridden with a new value For all commands there is no difference if player is online or not. cmi usermeta (key) (value) (-s)Īdd – Will add a defined key with a defined value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |