Race Games
Race Games let's you create horse, pig and foot tracks, each with several spawns, checkpoints, respawnblocks and a finishline. There are no other plugins needed to use this plugin and it's very easy to setup a race. During a race a scoreboard shows the player's personal record and the track record. At the end of a race rewards, like money and items, can be given to specific positions.
During the race players can reach checkpoints where they will respawn when they touch a respawnblock. (e.g. when people fall off into water during the race, they will respawn at their last checkpoint). When a player finishes his/her time will be broadcasted to all the other racers and their personal record and the track record may get updated. When all players are finished, the name and finishtime of the fastest racer will be broadcasted to all racers. If configured, rewards are given.
This plugin can be used for foot races, horse races, pig races, mazes, parkours, etc.
How it works
- A player joins the game with '/rg join' and will get teleported to the lobby.
- When the minimum amount of players to to auto-start is reached or when the command '/rg start' is executed, the voting will start.
- The track that got the most votes will be the next track.
- The players will be teleported to the spawns of the chosen track. If there aren't enough spawns, some players will get kicked.
- A countdown will start and all the players will be frozen.
- When the countdown reaches 0 all the players will be unfrozen and the race starts. If the track is a horse/pig track, the players will get mounted on a horse/pig.
- When checkpoints are used, the players will be able to reach new checkpoints.
- When a player touches a respawnblock they will get teleported back to their last checkpoint.
- When all players are finished, the race will be over and the winner will be broadcasted.
Setup
- Type: '/rg setlobbyspawn' - This will set the lobby spawn to your current location.
- Type: '/rg createtrack <trackname> [horse/pig/foot]' - This will create and select a new track. You can choose: make it a foot track or a horse track.
- Type: '/rg addstart' - This will add your current location as a start to the selected track. Repeat the command to add as many spawns as you like.
- Create a finishline/block. By default a redstoneblock is used to finish a player. Let players run on the finishblock at the finish to stop their personal time.
- Check the config. Modify the config to match your personal interests. Set the minimum players needed, the duration of the countdown, etc
- Type: '/rg reload' - This will reload the config.yml and save the changes you made.
- OPTIONAL - Create checkpointblocks to let the players reach checkpoints. Goldblock by default.
- OPTIONAL - Create respawnblocks to teleport players back to their last checkpoint. Water by default.
- That's it, enjoy racing!
Commands and Permissions
Command | Function | Permission |
---|---|---|
/rg | Get info about the plugin | Granted by default |
/rg commands | Get all the available commands | Granted by default |
/rg list | See who are playing the game | Granted by default |
/rg tracks | Get a list of all the tracks | Granted by default |
/rg join | Join the game | Granted by default |
/rg leave | Leave the game | Granted by default |
/rg vote <trackname> | Vote for a track | Granted by default |
/rg start | Force the game to start | racegames.moderator |
/rg stop | Force the game to stop | racegames.moderator |
/rg kick <player> | Kick a player out of the race | racegames.moderator |
/rg setlobbyspawn | Set the lobby spawn to your current position | racegames.admin |
/rg createtrack <trackname> [horse/pig/foot] | Create a new track | racegames.admin |
/rg deletetrack <trackname> | Delete a track | racegames.admin |
/rg settrack <trackname> | Select a track | racegames.admin |
/rg settype <trackname> [horse/pig/foot] | Change the type of a track | racegames.admin |
/rg addstart | Add your current position as a start to the selected track | racegames.admin |
/rg spawns <trackname> | Check how many spawns are set for the chosen rack | racegames.admin |
/rg reload | Reload the config.yml | racegames.admin |
The permission race.admin contains all permissions of race.moderator.
The command /rg does the same thing as /racegames
Signs
Things you should know
Race Games checks for new updates and alerts admins if one is found. You can disable this by opening the RaceGames/config.yml file in your plugins folder and set "update" to "false".
To determine popularity and usage of Race Games plugin installs are automatically tracked by the Metrics plugin tracking system. Your Java version, OS, player count, server country location and plugin & server versions are collected. This is used to determine what environments are using the plugin to ensure full compatibility. This collection is anonymous. If you don't want this tracking, edit plugins/PluginMetrics/config.yml and set "opt-out" to "true".
When the creator of this plugin joins the server you'll notice because of a small custom message, so I can help you right away!
To-Do
Add checkpoint blocks.Add a command to reload the config.Add permissions.Keep track of the fastest time ever.Keep track of the personal fastest time.Support multiple tracks.Teleport players back to a lobby when they finish the race.Support horse tracks.Support pig tracks.
Changelog
Click here for the full changelog!
Screenshots
Voting system
During a horse race
Youtube
English
French
Please let me know what you think about this plugin. If you want me to add something to the plugin, just leave a comment below.
Awesome plugin, though seems to have died after updating to Spigot #1338. You can join and force start a game and it teleports you to the spawn points though once on the spawn points the race doesn't start and you're stuck on your spawn block. Hope it's fixed soon.
bij mij werkt het niet er komen allemaal roden letters in beeld
@Traffic187 Hey, I will look into it soon.
@MagicSirloinMC Thanks :)
@romainimberti You can execute every command you want so if you want to give the winner money, you can simply run put the console command 'eco give ยง1 <amount>' in the config (if using Essentials). There is no need for me to add Vault because this achieves the same thing :)
Hi,good plugin but please add a reward (with vault) for the winner please ! :)
But good plugin !
Here, have a plugin review! http://www.youtube.com/watch?v=vPEQEefApWQ&
Hi Bikkel007, Traffic187 from Cubecraft hope you remember us :-) . We have had to disable the plugin for now Elite has found that it causes a crash when an Op logs in. Any ideas whats the problem?
@Purpleantilope
That's not possible now because people have to vote for a track after the autostart has started.
I will see if I can make it so multiple tracks can be run at the same time. If that works, your request is possible.
Hello love the plugin ! But i was wondering, on my server i have races and also parkours. It would be fun that people could just play parkour by themselves and time their run. So would it be possible to have the number of players for autostart be configurable for every track? Not just global?
@CubeCraftUK
Thanks for the input. In the next versioon the scoreboards will update with a scheduleSyncRepeatingTask.
Spigot recently removed support for asynchronous scoreboards, do you plan to change to support this as I assume bukkit will end up removing it too?
Here's there commit with the change:
https://github.com/SpigotMC/Spigot/commit/53f2f7499c8dcfaf755e1bbc0bda930c6e01d1f5
@Bikkel007
sorry but im new using plugins how do i do that thing of the permission node???
@masterkiller160
Thank you! Players need the permission node: racegames.member to be able to play the game.
Hi i love your plugin but i have 1 question how can i make that everyone can join the race? because only OP can play.
I made a spotlight featuring this plugin. Hope you enjoy!
@NoHoPeLess
Why do you want to change this command? My plugin should take priority over the /rg command of World Guard (if you use V4.1). If you want to use the /rg of worldguard you can simply use /region instead of /rg.
I found the issue...
I use worldguard <<including the command /rg for region ... so i wanted to change the command into race:
But when i do this:
Hmmm what can i do ? :D
@NoHoPeLess
I need more information to fix this. What craftbukkit are you using for your server? Did you try and delete the RaceGames folder?
pls help...
@fbafaro
Laps are not possible because players will be able to cross the finish and just turn back and cross the finish again. If that happens, the plugin thinks they ran another laps while they didn't.
Can you add a number of laps too?