FoundBoxx - 矿石发现播报器(反作弊、透视、全亮)
注意:从 1.8 升级到 1.9 时,请删除并重建配置文件夹以及数据库中的 FoundBoxx 表格
统计数据收集:最新版本已内置 MCStats Lite,它将仅收集非常基础的信息(服务器的 IP 地址,其他隐私信息不会被收集)。这些数据将用于公众(主要是我)了解该插件的受欢迎程度。您可以通过在配置中将“Allow_Usage_Stats_Collection”选项设置为 false 来选择退出。更多信息请访问
描述
从头开始重写的 FoundDiamonds 续作(是的,包括 MySQL,但其中 10% 的内容来自教程)。播报矿石发现。易于配置。额外功能。
功能
- 播报玩家发现的各类矿石
- 可设置使用权限系统(见下文)
- 可配置需要播报哪些矿石
- 播报附近同种矿石的数量
- 播报光照等级(以百分比表示,针对全亮作弊者)
- 可设置为仅播报生存模式玩家的发现
- 将所有附近的矿石保存到一个列表中,防止玩家在 30 秒内重复播报(与 FoundDiamonds 不同)
- 服务器重启时会清除列表,或在移除方块时删除条目
- 挖掘钻石时有几率掉落随机物品
- 可设置为禁止在光照等级为 0 时挖矿,以帮助对抗全亮作弊者
- 支持 SQL 和平面文件(H2)!
- 使用 SQL 还可以获取玩家的农场效率!
- 可自定义消息!
- 自动更新器
命令
权限 [PermissionBukkit, PEX, bPerms]
foundboxx.* - 以下所有内容(请仅将此权限授予主服务器管理员)
foundboxx.admin - 使用所有 /fb 命令(建议仅授予主服务器管理员)
foundboxx.notify - 获取通知
foundboxx.dark - 允许在黑暗中持续进行挖掘
foundboxx.cmd.reload - 允许使用 /fb reload 和 /fb config(警告:仅授予可信任的玩家,因为他们可以查看 MySQL 密码)
foundboxx.cmd.queue - 允许使用 /fb queue 命令
foundboxx.cmd.farmrate - 允许使用 /fb farmrate 命令
foundboxx.cmd.update - 允许使用 /fb update 命令
foundboxx.ignore.* - 忽略所有矿物发现
foundboxx.ignore.emerald - 忽略 绿宝石 发现
foundboxx.ignore.diamond - 忽略钻石发现
foundboxx.ignore.gold - I don't need to say what this does
foundboxx.ignore.iron - I don't need to say what this does
foundboxx.ignore.lapis - I don't need to say what this does
foundboxx.ignore.redstone - I don't need to say what this does
foundboxx.ignore.coal - 我不用说这有什么用
foundboxx.ignore.allextras - 我不需要 说 这个 是干什么的
配置默认值(含注释)
Auto_Update_On_Plugin_Enable: true #启用插件时自动更新开关,因为你不信任我/比较懒。你仍可使用 "/fb update"。
Notify_On_Updates: true #在可用更新时通知拥有 foundboxx.cmd.update 权限的玩家(与自动更新无关)
Allow_Usage_Stats_Collection: false #允许收集 MCStats 数据
Survival_Only: true #仅监听生存模式下的玩家(推荐:true)
Use_Nickname: false #发布公告时使用玩家的昵称(显示名称)。SQL 日志仍记录原始真实姓名
Use_Permissions: false #是否启用权限?如果未启用权限,则管理员(op)可执行所有操作(适用于 PermissionBukkit、PEX、bPerms)
Messages:
Found_Notification: '%ply found %amt %blk(s) (Visibility: %vis%)' #方块发现通知(%ply = 玩家名称;%amt = 发现的方块数量;%blk = 方块名称;%vis = 可见度值)
Must_Have_Light_To_Mine: Interacting in the dark is dangerous! Put some torches! #当禁止在黑暗中挖掘且有人试图在黑暗中挖掘时显示的警告信息
Count_Diagonal_Ores: false #插件是否应统计对角线方向的矿石
EMERALDS: true #显示绿宝石。
钻石: true #公告钻石
黄金: true #公告黄金
铁: true #公告铁
煤炭: false #公告煤炭
青金石: true #公告青金石
红石: true #公告红石
Extra_Blocks_IDs: [] #同时公告方括号内所有材料名称,用逗号分隔(格式:[STONE, IRON_BLOCK, DIAMOND_BLOCK])
Percentage_Chance_To_Give_Randoms_Item: 0 #百分制概率,向所有人发放随机物品的几率,设为 0 以禁用。
Max_Random_Items_To_Give: 3 #可发放的随机物品最大数量,范围从 1 到该值
Random_Item_To_Give: RAW_CHICKEN #随机物品的材料名称
Must_Have_Light_To_Mine: false #禁止使用全亮模组在光照等级为 0 的黑暗处挖矿(仍会公告矿石发现,但不可见)
Ignore_Night_Vision_Mining_In_Dark: false #支持在夜间通过夜视药水在黑暗中挖矿
SQL_Enabled: false #false = 禁用 SQL 和 H2;true = 启用 SQL;SQL = 启用 SQL;H2 = 启用 H2
SQL: #仅在使用 SQL 时需要更改(若仅使用 H2 则只需修改前缀)当前状态
URL: localhost #SQL 的 URL
Port: 3306 #SQL 的端口
Database: minecraft #要使用的数据库
Prefix: fb #所有 FB 数据库的前缀(例如 "fb-log")
User: root@localhost #登录 SQL 的用户名
Pass: '' #登录 SQL 的密码
Days_To_Remove: 1 #日志在启动时允许被删除前能保留的天数。
Maximum_Queries: 5000 #可使用的查询次数上限(熟悉 MySQL 的人可知,这是最大的 LIMIT 值)
Maximum_Data_Queries_Per_Second: 10 #每秒发送的查询次数(以防止过载)

源代码:
Jaryl Chng
FoundBoxx - Ore Finds Announcer (anti-cheat, xray, fullbright)
NOTICE: PLEASE DELETE AND REDO YOUR CONFIGURATIONS FOLDER ALONG WITH FOUNDBOXX TABLES IN DATABASES WHEN UPDATING FROM 1.8 TO 1.9
Multi-threaded optimizations! Flat file (H2) support!
Custom messages and blocks support!
Stats collection: MCStats Lite is included in the latest versions and will just be collecting really basic information (your server's IP address, and other private information will not be collected) about your server. The collection will be used for the public's (mainly mine) knowledge on the popularity of the plugin, you may choose to opt-out in the configurations by changing the "Allow_Usage_Stats_Collection" option to false. For more information please head to
Description
Continuation of FoundDiamonds from scratch (Yes, even the MySQL, but 10% of it is from a tutorial). Announces ore finds. Easy to configure. Extra features
Features
- Announcing findings of the different ore by players
- Able to set to use permissions (Look below)
- Able to configure which ore to announce
- Announces number of the same ore nearby
- Announces light level (in percentage, for fullbright hackers)
- Able to set only survival players to then announce
- Saves all nearby ores into a list to prevent players from getting it announced again after 30 seconds unlike FoundDiamonds
- List will be cleared on server restarts or entries removed on removing the blocks
- Random item on mining diamonds
- Able to set to disallow mining at light 0, to help in fullbright hackers
- SQL and flat file (H2) support!
- Using SQL you can also get a player's farmrate!
- Customizable messages!
- Auto-updater
Commands
- /foundboxx or /fb - Main command
Permissions [PermissionBukkit, PEX, bPerms]
foundboxx.* - Everything below (Try to give this to only MAIN server admins)
foundboxx.admin - Use ALL /fb commands (Try to give this to only MAIN server admins)
foundboxx.notify - Get the notification
foundboxx.dark - Allows mining in dark all the time
foundboxx.cmd.reload - Allow /fb reload and /fb config (WARNING: GIVE TO ONLY TRUSTED PEOPLE [THEY CAN SEE MYSQL PASSWORD])
foundboxx.cmd.queue - Allow /fb queue
foundboxx.cmd.farmrate - Allow /fb farmrate
foundboxx.cmd.update - Allow /fb update
foundboxx.ignore.* - Ignore for all ore finds
foundboxx.ignore.emerald - Ignore emerald finds
foundboxx.ignore.diamond - Ignore diamond finds
foundboxx.ignore.gold - I don't need to say what this does
foundboxx.ignore.iron - I don't need to say what this does
foundboxx.ignore.lapis - I don't need to say what this does
foundboxx.ignore.redstone - I don't need to say what this does
foundboxx.ignore.coal - I don't need to say what this does
foundboxx.ignore.allextras - I don't need to say what this does
Configuration Defaults (plus comments)
Auto_Update_On_Plugin_Enable: true #toggle the auto updater running on start because you don't trust me/are lazy. You can still use "/fb update".
Notify_On_Updates: true #notify people with the foundboxx.cmd.update permission on updates available (not linked with auto update)
Allow_Usage_Stats_Collection: false #allow MCStats data collection
Survival_Only: true #only listens to players in survival mode (recommended: true)
Use_Nickname: false #when announcing, use the players nick (display name). SQL logging is still original real name
Use_Permissions: false #permissions enabled? If no permissions, op will do (PermissionBukkit, PEX, bPerms)
Messages:
Found_Notification: '%ply found %amt %blk(s) (Visibility: %vis%)' #block found notification (%ply = Player name; %amt = Amount of the block found; %blk = Block name; %vis = Visibility value)
Must_Have_Light_To_Mine: Interacting in the dark is dangerous! Put some torches! #warning to display when mining in dark is disallowed and the person mines in the dark
Count_Diagonal_Ores: false #should the plugin count diagonal ores
EMERALDS: true #announce emeralds.
DIAMONDS: true #announce diamonds
GOLD: true #announce gold
IRON: true #announce iron
COAL: false #announce coal
LAPIS: true #announce lapis
REDSTONE: true #announce redstone
Extra_Blocks_IDs: [] #also announce all material names inside the box separated with a comma (Format: [STONE, IRON_BLOCK, DIAMOND_BLOCK])
Percentage_Chance_To_Give_Randoms_Item: 0 #out of 100, chance to give a random item to everyone, leave 0 to disable.
Max_Random_Items_To_Give: 3 #max number of the random item to give, 1 to this value
Random_Item_To_Give: RAW_CHICKEN #material name of the random item
Must_Have_Light_To_Mine: false #disallow fullbrighters to mine in the dark at light 0 (still announces ore finds but without visibility)
Ignore_Night_Vision_Mining_In_Dark: false #night vision potions support for mining in the dark
SQL_Enabled: false #false = Disable SQL and H2; true = Enable SQL; SQL = Enable SQL; H2 = Enable H2
SQL: #ONLY REQUIRED TO CHANGE USING SQL (H2 ONLY USES PREFIX) IS ON
URL: localhost #URL of SQL
Port: 3306 #port of SQL
Database: minecraft #Database to use
Prefix: fb #prefix of all FB database (eg. "fb-log")
User: root@localhost #username to log in SQL
Pass: '' #password to log in SQL
Days_To_Remove: 1 #how long can a log survive before it is able to get deleted on startup.
Maximum_Queries: 5000 #how many queries that can be used (To MySQL literate people, it's the maximum LIMIT value)
Maximum_Data_Queries_Per_Second: 10 #how many queries to be sent per second (to prevent overload)

Source code:
Jaryl Chng
评论 0
登录后参与评分
还没有评论,来抢沙发吧