在你的服务器上安装此插件后,拥有相应权限的玩家将能够阻止史莱姆在史莱姆群系中生成,这在基地被这些讨厌的家伙淹没时非常有用。
如果你还安装了我的另一个插件 'SlimeChunkDetector',你将能够在你的多人世界(SMP)中定位史莱姆群系,并在需要时将其禁用。
使用方法
要禁用一个史莱姆群系的生成:
- 定位一个史莱姆群系
- 站在该群系内的任意方块上,输入:
- /scd disableSlime
要重新启用之前禁用的史莱姆群系:
- 定位该史莱姆群系
- 站在其内部的任意方块上,输入:
- /scd enableSlime
查看某个史莱姆群系的状态(已禁用或已启用):
- 定位一个史莱姆群系
- 站在其内部的任意方块上,输入:
- /scd info
权限
使用你选择的权限插件,确保玩家或群组拥有 'scd.canuse' 权限,否则他们将无法使用任何插件功能。
创建原因
创建此插件是因为我服务器上的几位玩家在建造基地时选择了他们想要的位置,但没有充分意识到这些位置要么完全位于史莱姆群系内,要么部分位于其中,甚至紧邻史莱姆群系。
如果史莱姆群系位于你想要的位置,它们是非常棒的;但如果你的基地有一部分位于其中,那就成了麻烦。因此我创建了此插件,允许我们的玩家禁用史莱姆群系,从而让他们摆脱基地内史莱姆滋扰的烦恼。
更新日志
v0.1 - 插件初始版本
- 包含所有主要机制:禁用、启用、信息查看及权限支持。
- 可能缺少一些我尚未想到的功能。
要求
此插件需要 MySQL。
配置
要使用此插件,你需要拥有一个用于该插件的 MySQL 服务器和数据库。
插件会自动创建一个默认配置文件 (config.yml),你只需修改它以告知插件你的 MySQL 服务器信息即可。
mysql_server: <服务器 IP 地址或仅 'localhost'>
mysql_port: '3306'
mysql_user: <MySQL 用户名>
mysql_pass: <MySQL 密码>
mysql_database: <数据库名称>
mysql_slime_disable_table: <存储群系数据的表名>
mysql_table_prefix: <表的表名前缀>
配置示例
mysql_server: localhost
mysql_port: '3306'
mysql_user: root
mysql_pass: ''
mysql_database: slime_disable
mysql_slime_disable_table: slime_chunks
mysql_table_prefix: sd_
Using this plugin on your server, players with the necessary permissions will be able to stop slimes from spawning in a slime chunk, useful for when your base is being over-run by the buggers.
If you also install my other plugin 'SlimeChunkDetector', you will be able to locate slime chunks in your SMP world and then disable them if need be.
Usage
To disable a slime chunk from spawning:
- Locate a slime chunk
- Stand on any block inside that chunk and type:
- /scd disableSlime
To re-enable a previously disabled slime chunk:
- Locate the slime chunk
- While standing on any block inside of it, type:
- /scd enableSlime
To see what status a slime chunk is (either disabled or enabled):
- Locate a slime chunk
- While standing on any block inside of it, type:
- /scd info
Permissions
Using your permissions plugin of choice, make sure the player or group has the permission 'scd.canuse', if they don't, they won't be able to use any of the plugins.
Reason for creating
This plugin was created because several of the players on my server created their bases where they wanted to, without fully realising that it was either inside or partially inside or even next to a slime chunk(s).
Slime chunks are awesome if they are in the place you want them, but if part of your base is inside of it, it can be a nuisance, so i created the plugin to allow our players to disable the slime chunk, thus freeing them of the annoyance that is slimes inside their bases.
Changelog
v0.1 - initial creation of plugin
- all main mechanics are there, disabling, enabling, info, permissions support.
- may be missing some features that i haven't thought of yet.
Requirements
This plugin requires MySQL.
Configuration
To use this plugin, you need to have a MySQL server with a database for it.
The plugin automatically creates a default configuration file (config.yml), you just need to modify it so that it knows about your MySQL server.
mysql_server: <ip address of the server or just 'localhost'>
mysql_port: '3306'
mysql_user: <mysql username>
mysql_pass: <mysql password>
mysql_database: <database name>
mysql_slime_disable_table: <table to store the chunk data in>
mysql_table_prefix: <prefix for the tables>
Example configuration
mysql_server: localhost
mysql_port: '3306'
mysql_user: root
mysql_pass: ''
mysql_database: slime_disable
mysql_slime_disable_table: slime_chunks
mysql_table_prefix: sd_
评论 0
登录后参与评分
还没有评论,来抢沙发吧