差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 后一修订版 两侧同时换到之后的修订记录 | ||
插件手册:betonquest:命令和权限 [2018/08/03 11:54] Afry_ [指令一览] |
插件手册:betonquest:命令和权限 [2018/08/03 12:01] Afry_ |
||
---|---|---|---|
行 45: | 行 45: | ||
* ~~ /questlang {lang} - 改变玩家所用的语言(如果在控制台使用则改变所有玩家),默认将使用config.yml里定义的语言~~ | * ~~ /questlang {lang} - 改变玩家所用的语言(如果在控制台使用则改变所有玩家),默认将使用config.yml里定义的语言~~ | ||
+ | |||
+ | ====== 指令别名 ====== | ||
+ | |||
+ | * /j: bj, journal, bjournal, betonjournal, | ||
+ | * /backpack: b, bb, bbackpack, betonbackpack, | ||
+ | * /q: bq, bquest, bquests, betonquest, betonquests, | ||
+ | * objective: o, objectives | ||
+ | * tag: t, tags | ||
+ | * point: p, points | ||
+ | * event: e, events | ||
+ | * condition: c, conditions | ||
+ | * journal: j, journals | ||
+ | * item: i, items | ||
+ | * give: g | ||
+ | * rename: r | ||
+ | * delete: d, del | ||
+ | * create: package | ||
+ | * /questlang: ql | ||
+ | |||
====== 权限一览 ====== | ====== 权限一览 ====== | ||
- | * betonquest.* - 所有权限, | + | * betonquest.admin - 所有权限, |
- | * betonquest.journal.* - 允许使用/ | + | * betonquest.journal - 允许使用/ |
- | * betonquest.backpack.* - 允许使用/ | + | * betonquest.backpack - 允许使用/ |
- | * betonquest.conversation.* -允许与NPC交谈(默认为玩家) | + | * betonquest.conversation -允许与NPC交谈(默认为玩家) |
- | * betonquest.language.* - 允许更改语言(默认为玩家) | + | * betonquest.language - 允许更改语言(默认为玩家) |
+ | |||
+ | |||
+ | ====== 主要命令介绍 ====== | ||
+ | |||
+ | Reloading loads all data from configuration, | ||
+ | |||
+ | Tags subcommand allows you to easily list and modify tags. '/q tags Beton' would list tags for player Beton. '/q tags Beton add test' would add " | ||
+ | |||
+ | Points subcommand is similar - listing points is done the same way. Adding points to a category looks like that: '/q points Beton add reputation 20' (adding 20 points to " | ||
+ | |||
+ | Journal subcommand works in the same way as those two above. Adding and removing looks like /q journal Beton add default.wood_started (or del), and you can also specify the date of entry when adding it, by appending date written like this: 23.04.2014_16: | ||
+ | |||
+ | Objective subcommand allows you to list all active objectives (shown as their labels) of the player. It can also directly add or cancel objectives using instruction strings. You can also complete the objective for the player using complete argument - it will run all events and remove the objective. | ||
+ | |||
+ | Running events for online players can be done with event argument: '/q event Beton give_emeralds' | ||
+ | |||
+ | There is also condition argument for checking conditions, for example '/q condition Beton has_food' | ||
+ | |||
+ | If you need to create for example " | ||
+ | |||
+ | The '/q give package.item' | ||
+ | |||
+ | Config subcommand is used to modify or display values in configuration files. set option replaces the value with what you typed, add simply adds your string to the existing value. (Note on spaces: by default the plugin won't insert a space between existing and added value. You can however achieve that by prefixing the string with _ character. For example: existing string is objective location, and you want to add 100; | ||
+ | |||
+ | Path in this command is like an address of the value. Next branches are separated by dots. For example language setting in main configuration has path config.language, | ||
+ | |||
+ | You can purge specific player with '/q purge Beton' command, where Beton is the name of the player. To purge the entire database at once simply change the prefix in config.yml or delete database.db file. | ||
+ | |||
+ | Delete command ('/q delete' | ||
+ | |||
+ | Rename command ('/q rename' | ||
+ | |||
+ | If you want to backup your configuration and database make sure that your server is empty (this process requires all data to be saved to database -> all players offline) and run '/q backup' | ||
+ | |||
+ | Update command ('/q update' | ||
+ | |||
+ | Using '/q create beton' command you will create new package named ' | ||
+ | |||
+ | The /q vector command allows you to create vector variables from the specified in first argument location variable to your position. The result will be saved to the " |