差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 后一修订版 两侧同时换到之后的修订记录 | ||
插件手册:betonquest:命令和权限 [2018/06/19 17:11] JohnHo [指令一览] |
插件手册:betonquest:命令和权限 [2018/08/03 12:13] Afry_ [主要命令介绍] |
||
---|---|---|---|
行 7: | 行 7: | ||
* /j - 获得小本本,里边记录任务状态。(里边的内容需要BQ编辑者自己写)\\ | * /j - 获得小本本,里边记录任务状态。(里边的内容需要BQ编辑者自己写)\\ | ||
+ | |||
+ | * ~~ /bc - 打开罗盘\\ | ||
* ~~ /backpack - 打开任务背包~~\\ | * ~~ /backpack - 打开任务背包~~\\ | ||
行 14: | 行 16: | ||
* /q reload - 重载BQ(每次编写完BQ任务后都需要重载)\\ | * /q reload - 重载BQ(每次编写完BQ任务后都需要重载)\\ | ||
- | * /q objectives | + | * /q objectives |
- | * /q tags < | + | * /q tags {playerName} [list/ |
- | * /q points | + | * /q points |
- | * ~~ /q journal | + | * ~~ /q journal |
- | * /q event < | + | * /q event {playerName} {package.eventID} - 对玩家执行事件\\ |
- | * /q condition | + | * /q condition |
- | * /q item <package.itemID> - 用手中的物品,在BQ的物品表里边加入一个新的条目 | + | * /q item {package.itemID} - 用手中的物品,在BQ的物品表里边加入一个新的条目 |
- | * /q give <package.itemID> - 获得BQ物品表里边的某个物品\\ | + | * /q give {package.itemID} - 获得BQ物品表里边的某个物品\\ |
- | * ~~ /q config | + | * ~~ /q config |
- | * /q purge < | + | * /q purge {playerName} - 删除玩家所有的BQ信息\\ |
- | * ~~ /q rename | + | * ~~ /q rename |
- | * ~~ /q delete | + | * ~~ /q delete |
* ~~ /q backup - 创建数据库和配置文件的备份~~\\ | * ~~ /q backup - 创建数据库和配置文件的备份~~\\ | ||
- | * ~~ /q create | + | * ~~ /q create |
- | * ~~ /q vector | + | * ~~ /q vector |
- | * ~~ / | + | * ~~ / |
+ | |||
+ | ====== 指令别名 ====== | ||
+ | |||
+ | * /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 - 允许更改语言(默认为玩家) |
+ | |||
+ | |||
+ | ====== 主要命令介绍 ====== | ||
+ | |||
+ | 重载会从配置加载所有数据,但不是所有数据都会被更新。 不会触及玩家的数据以避免数据库保存被滞后。 数据库也是一样的,您必须重新加载/ | ||
+ | |||
+ | Tags子命令允许您轻松列出和修改标签。 '/ q tags {player}' | ||
+ | |||
+ | Points 命令类似于 listing points。'/ | ||
+ | |||
+ | 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 " |