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.
Please update to 1.10! This was a fun plugin to have.
I can vote but after the voting is done nothing happends???? Pls help Plus that the goal and checkpoints wont work
I can vote but after the voting is done nothing happends???? Pls help
Welp, I tried it on Spigot 1.9 and it doesn't work.
@TheModsKidServer
If I decide to continue this plugin I will add this feature
Can u add a feature so they can vote for what type of race it is? So they vote for a trak and if you enable a certain track to be any type they could vote for horse, pig or foot?
@Bikkel007
Can u add all mobs?
@DoggyCode
Unfortunately not. This was the first real plugin I ever made so I never made some sort of API. The structure of the code of this plugin is also very bad since I just learned how to code when I created this plugin. If I ever decide to continue with this project I'll rewrite the whole plugin.
Is there any API we developers can access?
Hello Bikkel007!
Nice plugin you made! It would be great if you could add multiple lobbys. Not only one for all maps. Sometimes the Horses are not able to jump. That's the only bug I saw on my server. Oh and the scoreboard somtimes stays after the match on the display.
Could you fix it? Thank you!
This plugin looks great, but it is not remembering people's inventories and they lose stuff when the select "leave".
Also, it lags a LOT and it is worse the more people that play it.
Using latest Spigot.
Any ideas Bikkel007?
Is it possible to specify a donkey for a race instead of a horse?
@Lushenko
Since Bukkit will no longer update I decided to stop adding new features.
Can you add signs record ?
@ltjim007
Nice video, I've added it to the vids on my page.
A very awesome plugin that works really well :D I have made a plugin showcase tutorial video: https://www.youtube.com/watch?v=ciA8UmNAap0&list=UUZvGH5UFnZGHL7t11RLhg2w Had a lot of fun reviewing this plugin!
@Bikkel007
Fantastic! We loaded the 5.0 version today and will send you anything we notice during testing. Enjoy your vacation Flapjack1968
Nice to hear you like the plugin. I'm currently on vacation, so I won't be able to add your request to the plugin for another two weeks. When I get back I'll release V5.1 with your request added and with an option to change the speed of the pigs. Version 5.0 will be ready to download any minute now.
Bikkel007 - we're really excited to update Racegames on mc.cbcraft.net as well. Can't wait to add pig racing:) Will there be a way to let people start a game without using the voting? I didn't see that in the list of updates, but was hoping I just missed it somewhere. It would be great to have a join sign that could be configured for a specific track and begin the countdown when the minimum players joined.
I know, it took a little longer for bukkit to look at the plugin. It should be online soon now.