![]() ![]() NOTE: '/npc trait' has been replaced, there is a new set of commands for adding, removing and copying traits. If you're looking for a way to add automatically ran commands when you click an NPC, that's explained at NPC_Commands.Ĭommands used for administration of Citizens.Ĭommands used in-game to show the help screen. Returns whether this YAML object has had changes since the last save or load. Returns a ListTag of all the keys at the path (and not sub-keys). Returns the value from a data key on the YAML document as an ElementTag, ListTag, or MapTag. Change the 'create' to any other command name (the example will show help for the /npc. To see information on a specific command, you can use /npc help create in-game. ![]() You can use /npc help 2 to view page 2, and so on (switch 2 to any page number). There are also many commands that are added by other traits. Commands Denizen Meta Documentation Returns true if the file has the specified path. To see the list of commands on your current version of Citizens, simply type /npc help in-game. Some commands have documentation elsewhere. Change the "create" to any other command name (the example will show help for the /npc create command). To see the list of commands on your current version of Citizens, simply type /npc help in-game. ) you should have a class that extendds JavaPlugin. Such as said in documentation ( Eclipse, Intellij Idea. There are quite a few commands that are not listed here, mainly for reasons of maintenance order (the wiki isn't updated all that often, but the actual commands list is updated regularly.) Now, in your command, you should use : Bukkit.getScheduler ().runTaskTimer (plugin, new dayNightTask (), delay) PS: The plugin instance should the object of the class that extends JavaPlugin. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |