Better Paintball System: 下一层级的彩弹射击插件!
❓ BPS 是什么?
Better Paintball System 是一款小游戏插件,两个队伍将在雪球大战中展开对决!双方队伍初始拥有固定数量的生命值。每当一名玩家被击中并阵亡时,其队伍将失去一条生命。率先生命值降至 0 的队伍输掉比赛。
该插件完全可配置,易于设置,并包含丰富的游戏功能,如击杀连击(KillStreaks)、独特帽子和永久增益(Perks),让你的玩家欲罢不能!
🌟 主要功能:
击杀连击、帽子与增益:
8 种不同的击杀连击
- 更多雪球(你将获得额外的雪球)
- 强壮手臂(你将高速投掷雪球)
- 三连射(你每次将投掷 3 个雪球)
- +3 条命(为你的队伍恢复 3 条生命)
- 传送(将你传送回死亡地点)
- 闪电打击(在半径范围内杀死周围的敌人)
- 核弹(杀死所有敌人)
- 狂暴模式(你将免疫雪球攻击,且不消耗雪球)
9 顶独特的帽子,在游戏中提供特殊能力
- 速度帽(给予你永久的速度 I 效果)
- 跳跃帽(潜行 X 秒期间给予你跳跃 I 效果)
- 守护帽(有小几率闪避雪球攻击)
- 时间帽(你的所有击杀连击持续时间延长 X 秒)
- 护卫帽(潜行 X 秒期间给予你不死性和缓慢 III 效果)
- 礼物帽(游戏开始时,你的一名队友将获得 3 枚击杀币)
- 刺客帽(击杀上一次杀死你的人,将额外获得 1 枚击杀币)
- 小鸡帽(你将发射鸡蛋而不是雪球)
- 爆炸帽(死亡时有小几率自爆,杀死附近的敌人)
3 种永久增益,具有可升级等级
- 额外生命(允许你在游戏开始时拥有额外生命)
- 初始击杀币(允许你在游戏开始时拥有额外击杀币)
- 额外击杀币(击杀敌人时获得额外击杀币)
顶级排行榜全息图:通过 DecentHolograms 集成,显示全局、月度或周度的最高胜场和击杀数排行榜
灵活的经济与存储系统:支持 3 种经济类型(内部彩弹币、Vault 或 TokenManager),并附带 MySQL 数据库支持以保存玩家统计数据(胜场、败场、平局、击杀数)
自定义消息:几乎可以定制所有插件消息,以匹配服务器的风格
完全可配置:自定义冷却时间、游戏计时器和队伍生命。个性化队伍名称、颜色和展示物品,以符合服务器主题
更多功能!:内置 PlaceholderAPI 支持用于自定义记分板/聊天,独立的竞技场聊天系统,再来一局道具,命令白名单以及 API
🛠️ 如何创建竞技场:
- 使用
/paintball setmainlobby 设置主小游戏大厅。
- 使用
/paintball create <arena_name> 创建你的竞技场。
- 使用
/paintball edit <arena_name> 打开交互式 GUI 设置菜单。
- 点击第一个物品设置竞技场大厅(玩家等待游戏开始的地方)。
- 使用第二个和第三个物品设置 1 队和 2 队的出生点。
- 使用剩余的 GUI 物品调整游戏时间、起始生命、玩家上限和队伍颜色。
- 使用
/paintball enable <arena_name> 启用竞技场。
- 可选:你可以使用以下格式创建加入告示牌:
[Paintball]
arena_name
(注意:如果你以后想再次编辑竞技场属性,请记住先通过 /paintball disable <arena_name> 禁用它)
️**🛡️ 命令与权限:**
👑 管理员命令:
/paintball setmainlobby | paintball.admin
/paintball create <arena> | paintball.admin
/paintball delete <arena> | paintball.admin
/paintball enable <arena> | paintball.admin
/paintball disable <arena> | paintball.admin
/paintball edit <arena> | paintball.admin
/paintball reload | paintball.admin
/paintball givecoins <player> <amount> | paintball.admin
/paintball createtophologram <name> <kills/wins> <global/monthly/weekly> | paintball.admin
/paintball removetophologram <name> | paintball.admin
betterpaintballsystem.update (用于游戏内更新通知)
👤 玩家命令:
/paintball join <arena> | 当前无权限
/paintball joinrandom | 当前无权限
/paintball leave | 当前无权限
/paintball shop | 当前无权限
🧩 占位符:
你可以在任何支持 PlaceholderAPI 的其他插件中使用这些占位符。
%paintball_wins%
%paintball_loses%
%paintball_ties%
%paintball_kills%
%paintball_coins%
%paintball_arenaplayers_count_<arena>%
%paintball_arena_status_<arena>%
💻 API:
要使此功能正常工作,你需要在我的插件的外部 JAR 依赖项中添加我的插件,并在你的 plugin.yml 文件中设置 softdepends: BetterPaintballSystem。
代码(Java):
```
// 返回一些玩家数据
int wins = PaintballAPI.getWins(String player);
int loses = PaintballAPI.getLoses(String player);
int ties = PaintballAPI.getTies(String player);
int kills = PaintballAPI.getKills(String player);
```
// 弹球币方法(非击杀币)
int coins = PaintballAPI.getCoins(Player player);
void addCoins(Player player, int coins);
void removeCoins(Player player, int coins);
// 帽子方法
boolean hasHat = PaintballAPI.hasHat(Player player,String hat);
boolean hasHatSelected = PaintballAPI.hasHatSelected(Player player,String hat)
ArrayList<Hat> hats = PaintballAPI.getHats(Player player)
// 增益方法
int perkLevel = PaintballAPI.getPerkLevel(Player player,String perk)
ArrayList<Perk> perks = PaintballAPI.getPerks(Player player)
📆 计划中的功能:
- 将所有内容重构为英文
- 统一的命名前缀(游戏内及错误处理)
- 修复弃用项 / 现代化代码
- 制作 Paper 插件
- 优化版本支持
- 移除旧版本和不使用的功能
- 添加 bstats
- 更多权限
- 配置文件更新器
- Folia 支持
- Velocity 支持 / 多服务器支持
- 更多击杀连击奖励(欢迎提出你的想法!)
- 更多帽子与能力(欢迎提出你的想法!)
❓ 常见问题解答:
我无法创建竞技场!我哪里做错了?
在创建第一个竞技场之前,你必须使用 /paintball setmainlobby 命令定义全局小游戏主大厅。
我用雪球击中某人,但他们没有掉血,我也没掉血。我该如何解决?
请确保在你构建弹球竞技场的世界设置中,PvP 已明确启用。
🎖️ 致谢:
本插件是 Paintball Battle 插件的官方延续作品,原作者为 Ajneb97。由于原项目已不再维护,Ajneb97 已正式授权我接管、现代化改造并继续发布该项目!感谢 Ajneb97 出色的工作!
🆘 需要帮助?
如果你遇到任何问题、漏洞或有关该插件的疑问,请随时直接联系我。我很乐意查看并提供支持!你的良好体验是我们的首要任务。
Better Paintball System: The Next Level Paintball plugin!
❓ What is BPS?
Better Paintball System is a minigame plugin where two teams face off in an snowball battle! Both teams start with a set amount of lives. Every time a player gets hit and defeated, their team loses a life. The first team to hit 0 lives loses the game.
This plugin is fully configurable, easy to set up, and packed with gameplay features like KillStreaks, unique Hats, and permanent Perks to keep your players hooked!
🌟 Key Features:
KillStreaks, Hats & Perks:
8 different KillStreaks
- More Snowballs (You will receive extra snowballs)
- Strong Arm (You will throw snowballs at high speed)
- Triple Shoot (You will throw 3 snowballs at a time)
- +3 Lives (Regain 3 Lives for your team)
- Teleport (Teleports you to your death location)
- Lightning Strike (Kills your sorrounding enemies in a radius)
- Nuke (Kills all of your enemies)
- Fury Mode (You will be immune to snowballs, and you won't consume them)
9 unique Hats that grant special abilities during the game
- Speed Hat (Gives you permanent Speed I)
- Jump Hat (Gives you Jump I when sneaking for X seconds)
- Protector Hat (Gives you a small chance of dodging snowballs hits)
- Time Hat (All of your killstreaks last X more seconds)
- Guardian Hat (Gives you Invulnerability and Slowness III when sneaking for X seconds)
- Present Hat (At the start of the game one of your teammates will receive 3 killcoins)
- Assassin Hat (Killing the user who last killed you will give you an extra killcoin)
- Chicken Hat (You will shoot eggs instead of snowballs)
- Explosive Hat (Gives you a small chance of exploding when you are killed, killing nearby enemies)
3 permanent Perks with upgradable levels
- Extra Lives (Allows you to start the game with additional lives)
- Initial Killcoins (Allows you to start the game with additional killcoins)
- Extra Killcoins (Allows you to receive additional killcoins when doing a kill)
Top Leaderboard Holograms: Display global, monthly, or weekly leaderboards for top wins and kills using DecentHolograms integration
Flexible Economy & Storage: Supports 3 types of economies (Internal Paintball Coins, Vault, or TokenManager) and comes with MySQL database support to save player statistics (wins, losses, ties, kills)
Customizable Messages: Tailor nearly all plugin messages to match your server's style
Fully Configurable: Customize cooldowns, game timers, and team lives. Personalize team names, colors, and display items to fit your server's theme
Even more feuatures!: Features built-in PlaceholderAPI support for custom scoreboards/chat, a per-arena chat system, play-again items, a command whitelist and an API
🛠️ How to Create an Arena:
- Set the main minigame lobby using
/paintball setmainlobby.
- Create your arena with
/paintball create <arena_name>.
- Use
/paintball edit <arena_name> to open the interactive GUI Setup Menu.
- Set the Arena Lobby (where players wait for the game to start) by clicking the first item.
- Set the Spawnpoints for Team 1 and Team 2 using the second and third items.
- Use the remaining GUI items to tweak game time, starting lives, player limits, and team colors.
- Enable the arena using
/paintball enable <arena_name>.
- Optional you can create a Join Sign using this format:
[Paintball]
arena_name
(Note: If you ever want to edit the arena properties again, remember to disable it first via /paintball disable <arena_name>)
️**🛡️ Commands & Permissions:**
👑 Admin Commands:
/paintball setmainlobby | paintball.admin
/paintball create <arena> | paintball.admin
/paintball delete <arena> | paintball.admin
/paintball enable <arena> | paintball.admin
/paintball disable <arena> | paintball.admin
/paintball edit <arena> | paintball.admin
/paintball reload | paintball.admin
/paintball givecoins <player> <amount> | paintball.admin
/paintball createtophologram <name> <kills/wins> <global/monthly/weekly> | paintball.admin
/paintball removetophologram <name> | paintball.admin
betterpaintballsystem.update (for in-game update notifications)
👤 Player Commands:
/paintball join <arena> | currently no permission
/paintball joinrandom | currently no permission
/paintball leave | currently no permission
/paintball shop | currently no permission
🧩 Placeholders:
You can use these placeholders in any other plugin with PlaceholderAPI support.
%paintball_wins%
%paintball_loses%
%paintball_ties%
%paintball_kills%
%paintball_coins%
%paintball_arenaplayers_count_<arena>%
%paintball_arena_status_<arena>%
💻 API:
For this to work you need to add my plugin to your plugin external jars dependencies and to set softdepends: BetterPaintballSystem on your plugin.yml file.
Code (Java):
```
//Returns some player data
int wins = PaintballAPI.getWins(String player);
int loses = PaintballAPI.getLoses(String player);
int ties = PaintballAPI.getTies(String player);
int kills = PaintballAPI.getKills(String player);
```
//Paintball Coins methods (not KillCoins)
int coins = PaintballAPI.getCoins(Player player);
void addCoins(Player player, int coins);
void removeCoins(Player player, int coins);
//Hat methods
boolean hasHat = PaintballAPI.hasHat(Player player,String hat);
boolean hasHatSelected = PaintballAPI.hasHatSelected(Player player,String hat)
ArrayList<Hat> hats = PaintballAPI.getHats(Player player)
//Perks methods
int perkLevel = PaintballAPI.getPerkLevel(Player player,String perk)
ArrayList<Perk> perks = PaintballAPI.getPerks(Player player)
📆 Planned features:
- refactor everything to english
- consistent prefix (ingame and error handlling)
- fix deprecations / modernize codes
- make paper plugin
- optmise version support
- drop old versions and unused stuff
- add bstats
- more permissions
- config updater
- folia support
- velocity support / multiple servers
- More KillStreaks (Suggest your ideas!)
- More Hats & Abilities (Suggest your ideas!)
❓ Q&A:
I can't create an arena! What am I doing wrong?
Before creating your very first arena, you must define the global minigame main lobby using the /paintball setmainlobby command.
I hit someone with a snowball, but they don't lose health and neither do I. How do I fix this?
Ensure that PvP is explicitly enabled in the world settings where your Paintball arena is built.
🎖️ Credits:
This plugin is an official continuation of the original Paintball Battle plugin by Ajneb97. Since the original project is no longer maintained, Ajneb97 has officially granted me permission to take over, modernize, and continue publishing the project! Thank you, Ajneb97, for the amazing work!
🆘 Need Help?
If you encounter any problems, bugs, or have questions about the plugin, please don't hesitate to contact me directly. I'll be happy to take a look and provide support! Your positive experience is our priority.
评论 0
登录后参与评分
还没有评论,来抢沙发吧