Per World Arena (Config -> Advanced.Per-World-Arena)
If set to true, each arena will be a world. This will make so arenas will reset a lot faster, and no risks of restoring problems.
Normal Restore System You will be able to create multiple arenas per world, with this you can tweak some options:
Restore-Task-Delay-Delay: '1' -> Defines the task delay, X
Blocks-Per-Iterator: '10' -> The amount of blocks that will be placed per X ticks
This restore system is slower and if your server crashes while the arena is restoring you may have to replace the TNTs. This system works with server shutdowns, if you server shutdown during a game or during the restoring process it should still restore the arena, but there's no way to detect crashes so just a warning.
Bungee Systems
If you want to run multiple game instances on a Bungee Server, set
Multiple-Games-Per-Bungee-Server to true. You'll need to have multiple arenas on that server for the system to work.
There's no sign system for this just yet, it's planned for the future, meanwhile you can use the API (see below) to access the game and get data from the server.
ParticleEffects (for trails and effects)
Code (Text):
There is more particles than that, to avoid issues we're working with:
Required permission:
bs.admin First of all set global spawn using
/bs setgspawn
Create your arena - /bs create <name>
BowSpleef will create a empty world and teleport you the map.
If you already have a world with the name of the arena on the server root, BowSpleef will load the world and teleport you to setup the arena. (Note: Don't load the world with any world plugin or BowSpleef will not able to delete them)
Set arena lobby - /bs setLobby <name>
Set the location where players will be teleported after joining.
Add spawn - /bs setSpawn <name>
Set the location where players will be teleported after game starts.
Add Arena Bounds - /bs setBounds <name>
IMPORTANT! Use /bs wand to get the selection tool.
You don't need to select the whole arena, just where the TNTs are, but if you arena has multiple floors you should select the arena.
You don't need to use this command if you are using Per World Arenas.
Add Spectator Spawn /bs setSpectatorSpawn <name>
Set min players - /bs setMinPlayers <name> <amount>
Set max players - /bs setMaxPlayers <name> <amount>
Finish the arena with - /bs finish <name>
Loads/reloads the arena, you need to use this command after editing or creating a map.
Item Config
Code (Text):
Normal item "MATERIAL : AMOUNT"
Item with data "MATERIAL:DATA : AMOUNT"
Item with enchantment "MATERIAL : AMOUNT : enchant:ENCHANT_NAME:LEVEL"
Item with name and/or lore "MATERIAL : AMOUNT : name:name :
lore:lore"
Item with color: "ID : AMOUNT : dye:COLOR"
You can combine all those type of items however you want.
Placeholders
%displayname% - For chat format setting, will return the player display name.
[ADMIN] Floodeer.
%playername% - For chat format setting, will return the player name.
Floodeer
%message% - For chat format setting, will return the player message.
%winner% - For winner messages, will return the winner's playername.
%coins% - For winner broadcast, will return the amount of coins that the player get from the game.
%shots% - For scoreboard and stats, amount from player's data.
%wins% - For scoreboard and stats, amount from player's data.
%games_played% - For scoreboard and stats, amount from player's data.
%balance% - For scoreboard and stats, amount from player's data.
%earned_coins% - For Game-Scoreboard (In-Game only).
%double_jumps% - For Game-Scoreboard (In-Game only).
bowspleef.joinfull - Allows you to join in full games.
Join Sign
[BowSpleef]
join
ArenaName
Leaderboard Hologram (HolographicDisplays)
Placeholder: {bowspleef_wins_position}
e.g: {bowspleef_wins_1} for the player with most wins.
Placeholder: {bowspleef_shots_position}
e.g: {bowspleef_wins_1} for the player with most shots.
Shop
You can buy trails, effects, double jump and triple shots! If you leave the game after purchasing a triple shot or a double jump before the game starts you will receive your money back.
Trails & Effects config
The number is the ID and will be saved in Database.
name: The display name in menu.
buyPermission: The player needs to have this permission to buy an trail/effect.
permission: The trail/effect that the player with the buyPermission will purchase.
particles: The particle type, the list is on Main page. CLICK HERE TO GO
menuItem: The display item in menu.
lore: The item lore in menu.
buyCommands: Commands to execute when player buy the trail/effect.
price: The price
slot: Slot in menu
rotateParticles: For Effects Only, special/rotative particles around the player or normal particles.
helmet: (Full armor set will be added soon) If player will get some hat with the effect.
Screenshots
Files
Code (Text):
# ##### Important options in configuration #####
# Storage.Type: Types -> MYSQL, SQLITE
# Storage.Update-Interval: Interval (in minutes) to send a updated version of all the player data to your DB.
#
# Advanced.Advanced-Restore: If enabled, THE WORLD WILL BE DELETED and recreated from a backup at maps folder.
# Advanced.Iterator-Delay: De delay between the block place -> 50 Blocks Per Iterator * 5 ticks Iterator Delay = 200 blocks placed per second.
Locations:
spawn: ''
System:
debug: 'false'
Advanced:
Restore-Task-Delay-Delay: '1'
Blocks-Per-Iterator: '15'
Per-World-Arena: 'false'
Storage:
Type: SQLite
MySQL:
Host: localhost
Port: '3306'
User: user
Password: '123456'
Database: database
Update-Interval: '5'
Options:
Leaderboard:
Enabled: 'true'
Data-Limit: '10'
Refresh-Rate: '25'
Bungee:
Enabled: 'false'
Lobby-Server: lobby
Server-Name: bowspleef1
Titles:
Fade-In: '8'
Stay: '28'
Fade-Out: '5'
Save-Inventory: 'true'
Disable-Shop: 'false'
Trails-Enabled: 'true'
Arrow-Effects:
Enabled: 'true'
Double-Jump-Enabled: 'true'
Triple-Shot-Enabled: 'true'
Per-Game-Double-Jump: '2'
Double-Jump-Limit: '5'
Per-Game-Triple-Shot: '3'
Triple-Shot-Limit: '5'
Trails:
Stop-Particles-When-Looking-Up: 'true'
Stop-Particles-When-Invisible: 'false'
Per-Player-Particle: 'false'
Multiple-Games-Per-Bungee-Server: 'false'
Offline-Mode: 'false'
Join-While-Starting: 'true'
Disable-Spectator: 'false'
Use-Spectator-Game-Mode: 'true'
Use-Vault: 'false'
Double-Jump-Multiply-Forward: '1.5'
Double-Jump-Multiply-Y: '0.8'
Time-After-Game: '8'
Economy:
Coins-Per-Win: '250'
Coins-Per-Player-Death: '5'
Coins-For-Participation: '50'
Game:
Pre-Start-Countdown: '35'
Game-Length: '600'
Grace-Period: '10'
Whitelisted-Commands:
- bs
- tell
- r
Items:
Spectator-Item: 'COMPASS : 1 : name:&7Players'
Spectator-Item-Slot: '0'
Arena-Item: 'EMERALD_BLOCK : 1'
Join-Arena-Item: 'EMERALD_BLOCK : 1'
Leave-Item:
Type: 'BED : 1 : name:&cLeave'
Slot: '8'
Shop-Item:
Type: 'EMERALD : 1 : name:&eShop'
Slot: '4'
Sounds:
Double-Jump: ENTITY_BAT_LOOP:0.2
Grace-Time: UI_BUTTON_CLICK:1
Purchase-Sound: ENTITY_PLAYER_LEVELUP:2
Rewards:
Win-Commands:
- eco give %player% 100
Second-Place:
- eco give %player% 50
Third-Place:
- eco give %player% 25
Shop:
Settings:
Items:
Double-Jump-Slot: '0'
Triple-Shot-Slot: '2'
Effects-Slot: '6'
Trail-Slot: '8'
Balance-Slot: '4'
Main-Shop-Rows: '1'
Effects-Rows: '6'
Trails-Rows: '6'
Double-Jump-Price: '500'
Triple-Shot-Price: '750'
Double-Jump-Name: '&7Double Jump'
Double-Jump-Lore:
- '&eUse your double jump to scape from death!'
Triple-Shot-Name: '&7Triple Shot'
Triple-Shot-Lore:
- '&eLeft click to shot triple arrows!'
Menus:
Trails:
No-Permission-Item: 'BARRIER : 1'
Locked-Item: 'RED_STAINED_GLASS_PANE : 1'
Code (Text):
Messages:
Permission: '&cNo permission!'
Server-Loading: '&cPlease try again in 3 seconds!'
Item-Selected: '&aItem %item% &aselected!'
Bow-Name: '&aBowSpleef''s Bow'
Data-Still-Loading: '&cYour data is still loading, try again!'
Permission-To-Buy: '&cNo permission to unlock this item!'
Join: '&7%player% &ejoined the game. (&7%players%&e/&7%maxplayers%&e)'
Left: '&7%player% &eleft the game. (&7%players%&e/&7%maxplayers%&e)'
Already-Started: '&cThis game already started!'
Restoring-Period: '&cThis game is restarting, please wait...'
Already-InGame: '&cAlready playing!'
Game-Is-Full: '&cThis game is full!'
Game-Error: '&cAn unexpected error has occurred.'
CannotSpectate: '&cYou cannot spectate this game right now.'
CannotSpectatePlayer: '&cYou cannot spectate this player right now.'
Game-Not-Found: '&cNo game found, you are now on the Queue to play.'
Not-In-Game: '&cYou can only do that while playing BowSpleef!'
Player-Eliminated: '&7%player% &ewas eliminated! %alive% player(s) left.'
Eliminated: '&cEliminated! &7You''re now on spectator mode.'
Already-Purchased: '&cYou already have this or a better shovel!'
Shovel-Selected: '&aShovel selected!'
Starting: '&eThe game starts in &b%time% &eseconds.'
Grace-Period: '&eThe Grace-Period ends in &b%time% &eseconds!'
Game-Started: '&e&lGame started! Goodluck!'
Successfully-Purchased: '&aYou successfully purchased item &afor &c%cost%&a.'
Money-Back-Info: '&aYou got your money back because you left from the game before
the start!'
Enough-Money: '&cYou don''t have enough money to buy this!'
Balance: '&7&lBalance: &6&l%balance%'
Win: '&7%player% &ewon the game!'
Nobody: '&7Nobody'
CommandFailed: '&cYou cannot use commands while playing BowSpleef!'
Countdown-Canceled: '&cNot enough players to start the game, countdown &lCANCELED.'
Game-Canceled: '&cGame canceled by an Administrator.'
Achievement:
- '&7&m---------------&7[&6&lACHIEVEMENT&7]&m---------------'
- ' '
- '%name% - %description%'
- ' '
- '&7&m----------------------------------'
Game-End:
- '&2&m-------------------&r'
- ' '
- '&7Winner: - &b%winner%'
- '&7Earned coins: - &b%coins%'
- ' '
- '&2&m--------------------&r'
Player-Stats:
- '&7&m---------------&7[&c&lBowSpleef STATS&7]&m---------------'
- ' '
- '&8Games Played: &b%games_played%'
- '&8Wins: &b%wins%'
- '&8Losses: &b%losses%'
- '&8Shots: &b%broken_blocks%'
- '&8Balance: &b%balance%'
- ' '
- '&7&m----------------------------------'
Data-Invalid: '&cFailed to load data.'
Waiting-For-Data: '&7Waiting...'
Chat:
Format: '&7%displayname%: &f%message%'
Spectator-Format: '&7[SPECTATOR] &7%displayname%: &f%message%'
Placeholders:
None: '&7none'
Titles:
Titles:
Player-Eliminated: '&b%player%'
Grace-Time: ''
Subtitles:
Player-Eliminated: '&7has eliminated!'
Grace-Time: '&c&l%time%'
DoubleJump-Limit: '&cYou cannot buy more than %limit% double jumps!'
TripleShot-Limit: '&cYou cannot buy more than %limit% triple shots!'
Spectator:
Menu-Name: '&7Players'
Game-Name: '&7Games'
Item-Lore: '&7Click to spectate!'
JoinMenu:
Menu-Name: '&7Players'
Game-Name: '&7Games'
Item-Lore: '&7Click to play!'
Shop:
Name: '&7BowSpleef Shop'
Effects-Name: '&7Effects Shop'
Trails-Name: '&7Trails Shop'
Effects:
Name: '&bEffects (Click to open)'
Lore:
- '&eBuy in-game particles!'
Trails:
Name: '&bTrails (Click to open)'
Lore:
- '&eBuy in-game arrow particles!'
Balance:
Name: '&7Total coins: &6%balance%'
Balaance:
Lore:
- ''
MoneyName: Coins
Sign:
Line:
'1': '&7[&cBowSpleef&7]'
'2': '%state%'
'3': '%mapname%'
'4': '%players%/%maxplayers%'
Auto-Join:
Line:
'2': '&8Auto-Join'
'3': ' '
'4': '&8%allPlayers% PLAYING'
State:
Waiting: '&aWAITING'
Starting: '&6STARTING'
InGame: '&cIN GAME'
Ending: '&4ENDING'
Restoring: '&8RESTORING'
Motd:
State:
Waiting: '&aWAITING'
Starting: '&6STARTING'
InGame: '&cIN GAME'
Ending: '&4ENDING'
Restoring: '&8RESTORING'
Scoreboard:
Lobby-Title: '&e&lBOW SPLEEF'
Lobby-Format:
- ' '
- '&fMap: &a%mapname%'
- '&fPlayers: &a%players%/%maxplayers%'
- '&fNeeded: &a%minplayers%'
- ' '
- '&fState: %capitalize_state%'
- ' '
- '&fBalance: &a%balance%'
- ' '
- '&fyourserver.com'
Game-Title: '&e&lBOW SPLEEF'
Game-Format:
- '&7Time Left: %formatted_time_left%'
- ' '
- '&fDouble Jumps: &a%double_jumps%'
- '&fTriple Shots: &a%triple_shots%'
- ' '
- '&fAlive Players: &a%alive%'
- ' '
- '&fShots Fired: &a%shots_fired%'
- '&fCoins: &a%earned_coins%'
- ' '
- '&fyourserver.com'
Leaderboard:
Messages:
Wins-Format: '&e%position%. &b%player% &7- &e%wins% &7wins'
Shots-Format: '&e%position%. &b%player% &7- &e%shots% &7shots'
List
<LeaderboardManager.
LeaderType.
LeaderData> getTopData
(LeaderboardManager.
LeaderType type
)
LeaderboardManager.
LeaderType.
LeaderData getOfflineData
(LeaderboardManager.
LeaderType type
)
There are some planned features for the future, meanwhile you can check Splegg for a similiar game. Also check Wizards, SpeedRun and Dragons, which are my premiums resources and I can give a better support for them.
By downloading BowSpleef you agree to
You are not allowed to distribute this plugin.
Use only for your network/server.
Do not decode the plugin, if you want the source code please send me a Private Message, although it is a pretty simple plugin.