RealAdminTools
在向我报告错误或请求新功能之前,请先阅读 CHANGELOG(更新日志)、KNOWN ISSUES(已知问题)、ROADMAP(路线图)和 WIKI(维基):可能已经包含相关内容了!
这些是我在其他地方找不到的管理员功能。
下载和文档链接
功能
基准测试那些耗时插件
注意:这是测试版版本:如果在错误版本的 Bukkit 上使用,可能会导致服务器崩溃或禁用插件!
现在你将知道是哪个插件的哪个事件导致你的服务器卡顿!
命令:
- /bench start:重置并开始基准测试
- /bench pause:暂停基准测试(保留日志)
- /bench resume:恢复基准测试(在不重置日志的情况下开始)
- /bench stop:停止基准测试并重置
- /bench top10:显示自启动以来最耗时的 10 个插件调用事件
- /bench top20:显示自启动以来最耗时的 20 个插件调用事件
快速传送器
我受够了那些 /tp 命令,它们总是需要 Y 坐标!
在这里你可以无需 Y 坐标进行传送 :)
- /qt x z | /qt x y z 是 RealAdminTools 的快速传送命令
server.properties 文件编辑器
无需在服务器上打开文件,只需通过聊天命令即可更改某些 server.properties 选项。
/config [<option> [<value>]] 显示/更改(如果设置了值)server.properties 文件中某个选项的值
值得更改值的有用选项包括:
allow-nether:true / false
view-distance:3 到 15
spawn-monsters:true / false
spawn-animals:true / false
online-mode:true / false
max-players:1 到 1000
pvp:true / false
allow-flight:true / false
white-list:true / false
spawn-protection:1 到 1000
更改值后,你可以使用 craftbukkit 的 /reload 选项重新加载配置。
如果不这样做,你的更改将不会生效。
示例:键入以下命令以禁用你服务器上的怪物生成。
所有怪物将立即被清除。
/config spawn-monsters false
/reload
实体管理器
我最初制作这个插件是因为我需要知道为什么 Essentials 插件的 /gc 功能告诉我我的世界中存在超过 20,000 个实体(这导致了严重的服务器卡顿和崩溃)。
这帮助我了解了这些实体的位置、它们是什么,并使我能够快速将它们从世界中移除。
因此,如果你需要清理世界,它将非常有用:矿车、船只、掉落物……一切都可以用它从世界中移除。
只有 OP(操作员)/ CONSOLE(控制台)可以使用这些命令。
/entities 显示你世界中活跃实体的摘要
将详细日志写入 plugins/RealAdminTools/entities.txt
每个实体都在此处描述,并带有其在世界中的精确位置
/entities remove item all 移除你世界中所有活跃的掉落物品
/entities remove item <typeId> 移除你世界中所有具有该 typeId 的活跃掉落物品
/entities remove <class> 移除该类的所有实体
已知的类包括:(注意:如果你移除一个实体类,所有子类的实体都将被销毁!)
- entity(请勿使用!结果不可预测)
- arrow(箭)
- egg(鸡蛋)
- fallingsand(下落沙子)
- fireball(火球)
- fish(鱼)
- painting(画)
- snowball(雪球)
- tntprimed(激活的 TNT)
- vehicle(载具)
- boat(船)
- minecart(矿车)
- poweredminecart(动力矿车)
- storageminecart(储物矿车)
- livingentity(活体实体,请勿使用!结果不可预测)
- creature(生物)
- animals(动物)
- chicken(鸡)
- cow(牛)
- pig(猪)
- sheep(羊)
- wolf(狼)
- monster(怪物)
- creeper(苦力怕)
- giant(巨人)
- skeleton(骷髅)
- spider(蜘蛛)
- zombie(僵尸)
- watermob(水生生物)
- flying(飞行生物)
- slime(史莱姆)
- humanentity(人类实体,请勿使用!结果不可预测)
操作员列表
/ops 显示操作员列表(ops.txt 文件的内容)
已知问题
请告诉我
更新日志
最近的更新
如每个文件描述中所述,更新日志将不再在此处更新。
版本 0.31
- /bench start | pause | resume | stop | top10 | top20 用于获取最耗时插件的事件列表
版本 0.30
- Bukkit 1.1 兼容性(MC 1.2.3)
- /bench 命令用于基准测试耗时插件事件
- 修复 Windows 机器无法写入文件的问题(感谢 gmcferrin)
版本 0.11
更新包名和 RealPlugin 以与其他 Real* 插件兼容
版本 0.1
与最新版本的 craftbukkit #1561 进行了测试
版本 0.06
内部更改(RealTranslation 和 RealTools 库兼容性)
版本 0.05
/ops 用于显示操作员列表
版本 0.04
/config 单独使用可显示 server.properties 选项的值
/config <option> 用于显示单个选项的值
/config 命令现在以彩色回复
版本 0.03
/config 命令用于更改 server.properties 文件配置选项
/entities remove 现在会显示已移除实体的数量
版本 0.02
实体现在可以从控制台调用
版本 0.01
首次发布
我能够用它执行 /entities remove item 81。
我的一个玩家曾建造了一个巨大的仙人掌农场,该农场持续生成仙人掌物品(数量为 81)。这次大规模清理让我的服务器避免了彻底崩溃!
路线图 - 待办事项
目前暂无其他内容。
或许还会为服务器管理员提供其他在其他地方找不到的工具。
RealAdminTools
Please read CHANGELOG, KNOWN ISSUES, ROADMAP AND THE WIKI before you tell me bugs or ask me new features please : it may be already here !
These are some administrator's features that I did not found anywhere else
Download and documentation links
Features
Bench those time-consuming plugins
BEWARE AS THIS IS BETA : This could crash your server / disable plugins if used on a bad version of bukkit !
Now you will know which event of which plugin make your server lag !
Commands :
- /bench start : reset and start bench
- /bench pause : pause bench (keep log)
- /bench resume : resume bench (start without log reset)
- /bench stop : stop bench and reset
- /bench top10 : show the 10 more time-consumming plugin's called events since started
- /bench top20 : show the 20 more time-consumming plugin's called events since started
quick teleporter
I can't stand these /tp commands where I always need a y !
Here you can teleport without the y coordinate :)
- /qt x z | /qt x y z is the RealAdminTools command for quick teleport
server.properties file editor
Needed to changes some server.properties options, without opening the file on the serveur, simply with chat commands.
/config [<option> [<value>]] display / change (if value is set) the value of a server.properties file option
Usefull options to change values are :
allow-nether : true / false
view-distance : 3 to 15
spawn-monsters : true / false
spawn-animals : true / false
online-mode : true / false
max-players : 1 to 1000
pvp : true / false
allow-flight : true / false
white-list : true / false
spawn-protection : 1 to 1000
After the value is changed, you can reload the configuration using the craftbukkit /reload option.
If you do not do this, your changes will not be activated.
Sample : type these commands to disable monsters spawn on your server.
All monsters are immediately killed
/config spawn-monsters false
/reload
Entities manager
I first made this plugin because I needed to know why the Essentials plugin /gc function told me that I had more than 20000 entities into my world (this made a big server lag and crash).
This helped me to know where these entities were, what they were, and it enabled me to remove them from the world very quickly.
So it will be very usefull if you need to clean-up your world : minecarts, boats, dropped stuffs... everything can be removed from the world with it.
Only OPS / CONSOLE can use these commands.
/entities displays a summary of the entities active in your worlds
Writes a detailed log into plugins/RealAdminTools/entities.txt
Each entity is described here, with it's acurate location into the world
/entities remove item all remove all active dropped items from your worlds
/entities remove item <typeId> remove all active dropped items that have this typeId from your worlds
/entities remove <class> remove all entities of this class
Known classes are : (Beware : if you remove an entity class, all sub-classes entities will be destroyed !)
- entity (DO NOT USE ! Unpredictable result)
- arrow
- egg
- fallingsand
- fireball
- fish
- painting
- snowball
- tntprimed
- vehicle
- boat
- minecart
- poweredminecart
- storageminecart
- livingentity (DO NOT USE ! Unpredictable result)
- creature
- animals
- chicken
- cow
- pig
- sheep
- wolf
- monster
- creeper
- giant
- skeleton
- spider
- zombie
- watermob
- flying
- slime
- humanentity (DO NOT USE ! Unpredictable result)
- player (DO NOT USE ! Unpredictable result)
Operators list
/ops displays the list of the operators (content of the ops.txt file)
Known issues
Tell me
Changelog
More recents
said on each file description, the changelog will not be updated more here.
Version 0.31
- /bench start | pause | resume | stop | top10 | top20 to get the more time-consumming plugins events list
Version 0.30
- Bukkit 1.1 compatibility (MC 1.2.3)
- /bench commands to bench your time consuming plugins events
- Fix issue with Windows machines being unable to write to file (thanks gmcferrin)
Version 0.11
Update package names and RealPlugin for compatibility with other Real*
Version 0.1
Tested with last version of craftbukkit #1561
Version 0.06
Internal changes (RealTranslation and RealTools libraries compatibility)
Version 0.05
/ops to display the operators list
Version 0.04
/config alone to display server.properties options values
/config <option> to display one option's value
/config commands now answer with color
Version 0.03
/config command to change server.properties file configuration options
/entities remove now displays how many entities were removed
Version 0.02
entities can now be called from the console
Version 0.01
first release
I was able to /entities remove item 81 with it.
One of my players used to build a huge cactus farm, that popped continuously cactus items (81). This big purge saved my server from a definitive crash !
Road Map - TODO
nothing else for the moment.
perhaps other tools for server admins I will not found somewhere else.
评论 0
登录后参与评分
还没有评论,来抢沙发吧