支持 1.7!
关于
你是否曾想过有一种方法可以让玩家选择他们想要的材质包,而不必经历下载和安装的麻烦?当然你没有,你是一个喜欢看到玩家受苦的黑心管理员!为了玩家着想,我写了这个插件。
使用方法
只需将 jar 文件放入你的 plugins 文件夹并重启服务器即可!系统会为你创建一个默认配置文件,其中已配置好几个开箱即用的材质包。
命令
/changetp <材质包名称>
更改你的材质包。需要 TexturePackChanger.change 权限或 OP(管理员)权限。
/listtp
列出配置文件中所有的材质包。需要 TexturePackChanger.list 权限或 OP(管理员)权限。
告示牌
为了让玩家轻松更改材质包,可以创建一个告示牌,第一行写 [TexturePack],第二行写材质包的名称。需要 'TexturePackChanger.change' 权限。例如,如果我想制作一个启用 Cellcraft 的告示牌,我会这样设置:
如果你知道我应该添加到默认配置文件中的材质包,请告诉我!
编辑配置文件
编辑配置文件非常简单。确保你之前至少启动过一次插件,以便生成默认配置文件。配置文件的结构如下:
Players:
playername:
texture: texturepackname
Textures:
texturepackname:
url: http://path.to.texture.pack.zip
如果你有任何问题,请告诉我!
致材质包创作者
为了方便用户快速上手使用此插件,我会将任何材质包包含在默认配置文件中。这是让你的材质包获得更多曝光的好方法,也是让用户发现你的材质包的好途径。如果你的材质包被包含在默认列表中且希望移除,请留下评论,我会立即将其删除。
提供帮助
- 添加功能或修复错误:源代码
- 帮助我撰写更好的关于页面
- 通过提交工单请求功能
- 通过提交工单报告错误
更新日志
版本 4.1
版本 4.0
- 添加了权限系统
- 添加了命令
- 从 Github 迁移到 BitBucket
版本 3.0
- 添加了 1.4.7 支持
- Bukkit 在 1.4.7 中添加了材质包 API,因此我不再需要使用 nms 代码(直接发送数据包)!
- 此更新应适用于任何未来版本的 bukkit 高于 CB 1.4.7-R0.1。对于低于该版本的,请使用此插件的其他构建版本。
版本 2.0
- 添加了 1.4.6 支持
- 进行了一些可用性增强
- 修复了配置文件写入问题
版本 1.1
- 在默认配置文件中添加了 Rustica、Ravencraft 和 Forgottenlands。移除了默认条目。
- 修复了站立式告示牌无法工作的問題。
- 使第一行允许任何大小写形式。
- 修复了配置文件被覆盖的问题
版本 1.0
Works with 1.7!
About
Ever wanted a way to let your players choose what texture pack they wanted, without having to go through the hassle of downloading and installing it? Of course you didn't, you are a mean admin who likes to see his players suffer! For their sake, I wrote this.
Usage
Just drop the jar file in your plugins folder and restart your server! A default configuration file is created for you, with a few texture packs already configured and ready-to-use.
Commands
/changetp <texturepack name>
Changes your texture pack. Requires TexturePackChanger.change or op.
/listtp
Lists all of the textures in the config. Requires TexturePackChanger.list or op.
Signs
To let players easily change their texture pack, create a sign with the first line saying [TexturePack] and the second line the name of the texture pack. Requires the 'TexturePackChanger.change' permission. For example, if I wanted to make a sign that would enable Cellcraft, I would make a sign that said:
If you know of a texture pack that I should add to the default config, please let me know!
Editing the configuration file
Editing the config file is a snap. Make sure that you have started the plugin once before, so that the default config file is generated. The structure of the configuration is as follows:
Players:
playername:
texture: texturepackname
Textures:
texturepackname:
url: http://path.to.texture.pack.zip
If you have any questions, let me know!
For texture pack creators
I will include any texture pack in the default config file to make it easier for users to get up and running with this plugin. This is a great way for you to get more publicity for your texture pack, and a great way for users to find your texture pack. If you have a texture pack included by default here, and you want it removed, leave a comment and I will remove it immediately.
Help out
- Add a feature or fix a bug: Soruce code
- Help me write a better about page
- Request a feature by making a ticket
- Report a bug by filing a ticket
Change Log
Version 4.1
- 1.7 support, thanks to kulboy121
Version 4.0
- Added permissions
- Added commands
- Moved from Github to BitBucket
Version 3.0
- Added 1.4.7 support
- Bukkit added a texture pack api in 1.4.7, so now I don't have to use nms code (to send the packets directly)!
- This update should work for any future versions of bukkit past CB 1.4.7-R0.1. For anything before that, use a different build of this plugin.
Version 2.0
- Added 1.4.6 support
- Made some usability enhancements
- Fixed a config write issue
Version 1.1
- Added Rustica, Ravencraft, and Forgottenlands to the default config file. Removed the default entry.
- Fixed the issue with standing signs not working.
- Made the first line allow any type of capitalization.
- Fixed an issue with the config being overwritten
Version 1.0
评论 0
登录后参与评分
还没有评论,来抢沙发吧