CreativeStick
CreativeStick 允许你通过对着方块挥动木棍,在远处建造、替换或删除方块。它可能是你在创造服务器中唯一需要的工具!
更新内容?
1.0 版本增加了插件自动更新和发送匿名使用统计的功能。这两项功能均为可选,可以通过分别在 config.yml 中添加 'settings.disable-updates' 和 'settings.disable-stats' 来关闭。
0.9 版本移除了手动安装 BaseBukkitPlugin.jar 的要求。实际上,如果存在的话,请从你的 plugins 文件夹中删除该文件。CreativeStick 会在缺失或过时的时候自动下载并安装它。如果你需要手动安装该 jar 包,请从 GitHub release 目录下载并将其移动到 CreativeStick 文件夹中。不要将其安装在插件文件夹中!
0.8 版本没有增加新功能,而是进行了重构以适应 Bukkit 提供的新配置 API。此版本也不再向后兼容 iStick(还在用的人???)。鉴于 Bukkit 现在原生支持权限系统,对其自身权限的支持也已被移除。
从 0.7.1 版本开始,CreativeStick 支持投掷建造模式,玩家可以直接使用手中持有的物品进行操作。
从 0.6.8 版本开始,用户参数的配置变得稍微容易了一些(可以使用缩写),并且包含了一个选项:可以使用右键点击来建造和替换:'/cs -c right-click-mode true' 或 '/cs -c rcm true' 将启用所选的右键点击模式。默认值可以在配置文件中设置,否则默认为 false。
所有物品规格现在都可以使用物品名称(例如 'stone')、ID 或“模糊字符串”快捷方式来指定:
- 模糊字符串始终以大写字母开头
- 大写字母是物品名称中单词的首字母
- 使用首字母大写后跟任意数量小写字母的方式可以指定名称的开头,但不包括空格
- 接受通配符 '*',它可以代表任意字母和空格序列
- 只接受能对应单一物品的字符串;如果有多个物品匹配,则只考虑“可放置”物品(目前,“可放置”被定义为方块;我会努力纳入其他可放置物品如蛋糕……大家都喜欢蛋糕,你仍然可以通过指定 'cake' 来使用它)
- 如果字符串匹配多个可放置物品,将返回这些物品的列表
- 示例:
- 'IA' 是 'iron axe' 的缩写
- 'G*re' 是 'gold ore' 的缩写
- 'So' 结果为 'soil'(注意它不匹配 'soul sand',因为后者有两个单词但未使用通配符)
- 'IB' 结果为 'iron block',因为另一个匹配项 ('iron boots') 不可放置
- 'S' 无效,因为它匹配多个可放置物品 ('stone', 'sand' 等)
任何物品规格都可以包含一个“数据位”或类型指定:
- 'wool:red' 和 'wool:14' 都允许你用红羊毛方块进行建造或替换
- 'log:birch' 或 'leaves:birch' 分别会给你白桦原木和白桦树叶
查看所有可用选项,请访问 Wiki 页面
功能
- 启用 / 禁用 /cs -t|toggle
- 右键点击用于移除 / 切换建造方块(可选)。
- 左键点击用于建造 / 移除 / 替换。
- 切换到建造模式:/cs -b|build <id|name>
- 切换到替换模式:/cs -r|replace <id|name>
- 远程移除:确保 CreativeStick 已启用,然后直接右键点击。
- 撤销操作:/cs -u|undo [amount]
- 切换是否在移除时将物品添加到背包:/cs -td
- /cs [-h|help] 显示帮助信息
- /cs -c|config 显示配置信息。
- /cs -i|ignore 允许你将方块设置为透明:
- /cs -i +stationary water,+water 将允许你穿透所有水体进行操作
- /cs -i -<material> 将使该类型的方块重新变为不透明
- 空气始终为透明,且可以在配置文件中配置一组默认透明方块
- /cs -c|config <parameter> <value> 允许更改配置参数;目前支持的参数有:
- 默认撤销次数('undo' 或 'u' + 数字)
- 工具生效的距离('distance' 或 'd' + 数字)
- 使用的工具('tool' 或 't' + 物品规格)
- 是否可以移除最底层的基岩('protect-bottom' 或 'pb' + 'true' 或 'false')
- 右键点击是否切换物品以进行建造('right-click-switch' 或 'rcs' + 'true' 或 'false')
- 右键点击是使用当前选定的模式而不是简单地移除方块('right-click-modes' 或 'rcm' + 'true' 或 'false')
- 调试模式('debug-mode' 或 'dm' + 'true' 或 'false')
- 掉落物是否生成自然掉落的物品('natural-drops' 或 'nd' + 'true' 或 'false')
- 是否在相关操作上多发送一些提示信息('announce' 或 'a' + 'true' 或 'false')
- 投掷-建造模式(无需手持工具):'throw-build' 或 'tb' + 'true' 或 'false'
- /cs -v|version 显示版本信息
- 别名:/is 或 /istick 或 /cstick
- 支持所有保护类插件
- 支持 Bukkit 权限系统、Permissions、PermissionsEx 和 GroupManager
- 为允许使用该插件的用户分配权限 'creativestick.use'
- 为允许使用非背包内方块进行建造或替换的用户分配权限 'creativestick.spawn-blocks'(同时请检查配置文件以确保向后兼容性启用此功能)
- 为允许更改自身配置参数的用户分配权限 'creativestick.config' 或 'creativestick.config.*'
- 仅分配 'creativestick.config.param' 以限制用户只能更改特定参数的配置
- 为允许使用该插件所有功能的用户分配权限 'creativestick.*'
安装方法
- 下载 CreativeStick 的最新 jar 文件
- 重载你的服务器
- 阅读并调整 plugins/CreativeStick/config.yml 中的配置文件
- 如果进行了任何更改,请重载服务器
升级指南
- 如果你的 plugins 文件夹中包含 BaseBukkitPlugin.jar,请将其移除
- 按照安装步骤 1 - 2 操作
- 如果你看到关于 config.yml 文件过旧的警告消息,只需按照 plugins/CreativeStick/config-new.yml 中的说明进行操作
- 如果没有出现警告消息,则可以直接使用
CreativeStick
CreativeStick will allow you to build, replace, or remove blocks at a distance by simply shaking a stick at them. It may just be the only tool you will ever need on a creative server!
What's New?
Version 1.0 adds the ability for the plugin to update itself and to send anonymous usage statistics. Both are optional and can be turned off by adding 'settings.disable-updates' and 'settings.disable-stats' to config.yml respectively.
Version 0.9 removes the requirement to install BaseBukkitPlugin.jar manually. In fact, please remove this file from your plugins folder if it exits. CreativeStick will automatically download and install it if it is missing or outdated. If you need to manually install the jar, download it from the github release directory and move it to the CreativeStick folder. Do not install it in the plugin folder!
Version 0.8 adds no new functionality but is a refactoring to adapt to the new configuration API provided by bukkit. This version is also the first to no longer be backwards compatible with iStick (anyone still using it???). Given that bukkit now supports permissions natively, support for its own permissions has also been removed.
As of version 0.7.1 CreativeStick supports a throw-build mode where a player can simply work with whatever item they are holding in hand.
As of version 0.6.8 configuration of user parameters is now a little easier (you can use abbreviations) and includes an option to use right-clicking for building and replacing as well: '/cs -c right-click-mode true' or '/cs -c rcm true' will enable the use of whatever mode was selected by right-clicking. The default can be set in the configuration file and is set to false otherwise.
All item specification can be now done using either the name of the item (e.g. 'stone'), the id, or a "fuzzy string" shortcut:
- fuzzy strings always start with capital letters
- upper case letters are the first letters of the words in an item's name
- using first an upper case and then any number of lower case letters specifies the beginning of a name but does not include spaces
- a wildcard '*' is accepted and can stand for any sequence of letters and spaces
- only strings resulting in single items are accepted, if more than one item matches, only 'placeable' items will be considered (right now, placeable is defined as the item being a block; I will work on including other placeable items like cake... everybody likes cake and you can still use it by specifying 'cake')
- if the string matches more than one placeable item, a list of those items is returned
- examples:
- 'IA' is short for 'iron axe'
- 'G*re' is short for 'gold ore'
- 'So' results in 'soil' (note that it doesn't match 'soul sand' as that item has two words but no wild card was used)
- 'IB' results in 'iron block' as the other matching item ('iron boots') is not placeable
- 'S' is invalid as it matches multiple placeable items ('stone', 'sand', etc.)
Any item specification can include a 'data bit' or type specification:
- 'wool:red' and 'wool:14' both let you build or replace with red wool blocks
- 'log:birch' or 'leaves:birch' will give you birch logs and leaves respectively
check the the wiki page for all available choices
Functionality
- Enable / Disable /cs -t|toggle
- Right click for removal / switching of building block (optional).
- Left click for building / removing / replacing.
- Switch to building: /cs -b|build <id|name>
- Switch to replacing: /cs -r|replace <id|name>
- Removing from a distance: make sure CreativeStick is enabled and just right click.
- Undoing: /cs -u|undo [amount]
- Toggle whether items are added to the inventory when removing: /cs -td
- /cs [-h|help] shows help information
- /cs -c|config shows configuration information.
- /cs -i|ignore lets you set blocks as transparent:
- /cs -i +stationary water,+water will let you work through all water
- /cs -i -<material> will make that block type opaque again
- air will always be transparent and a default set can be configured in the configuration file
- /cs -c|config <parameter> <value> allows config parameters to be changed; currently supported:
- number of default undos ('undo' or 'u' + a number)
- distance from which the tool acts ('distance' or 'd' + a number)
- the tool to use ('tool' or 't' + an item specification)
- whether or not the bottom layer of bedrock can be removed ('protect-bottom' or 'pb' + 'true' or 'false')
- whether or not right-clicking switches the item to build with ('right-click-switch' or 'rcs' + 'true' or 'false')
- whether or not right-clicking uses the current mode selected instead of simply removing blocks ('right-click-modes' or 'rcm' + 'true' or 'false')
- debug mode ('debug-mode' or 'dm' + 'true' or 'false')
- whether or not drops produce naturally dropped items ('natural-drops' or 'nd' + 'true' or 'false')
- whether or not to be a little chatty about things ('announce' or 'a' + 'true' or 'false')
- throw-build mode (no stick required): 'throw-build' or 'tb' + 'true' or 'false'
- /cs -v|version shows version information
- Aliases: /is or /istick or /cstick
- Support for all protection plugins
- Support for Bukkit's permissions, Permissions, PermissionsEx, and GroupManager
- assign 'creativestick.use' to any users who are allowed to use the plugin
- assign 'creativestick.spawn-blocks' to users that are allowed to build or replace with blocks that are not in their inventory (also check your config file to enable this for backwards compatibility)
- assign 'creativestick.config' or 'creativestick.config.*' to any user who are allowed to change configuration parameters for themselves
- assign only 'creativestick.config.param' to only allow a user to change that parameter's configuration
- assign 'creativestick.*' to any users who are allowed to use all features of the plugin
INSTALLATION
- download the latest jar file for CreativeStick
- reload your server
- read and adjust configuration file in plugins/CreativeStick/config.yml
- reload your server if you made any changes
UPGRADING
- if you have BaseBukkitPlugin.jar in your plugins folder, please remove it
- follow INSTALLATION steps 1 - 2.
- if you see a warning message about an outdated config.yml file, simply follow the instructions in plugins/CreativeStick/config-new.yml
- if there is no warning message, you are good to go
评论 0
登录后参与评分
还没有评论,来抢沙发吧