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.
@Mwguy52
I'll see if I will add this.
@Bikkel007
Can you please add potion effects?such as if a owner wants to set potion effects when a race starts....you know.
@Timmie989
I am aware of this problem, that's why you can use /racegames as well.
EDIT. I just uploaded V4.1. In that version Race Games will take priority over WorldGuard, so you'll be able to use /rg in that version. For now, use /racegames.
I have one problem with the commands. /rg is a already used command in worldguard. so when another player types /rg join it gives the possiblitys of worldguard.
can you please fix that?
@astinax Thanks, I added your video to the plugin info!
@Jerimu Minecarts? You can't move yourself, while in a minecart so that won't be really usefull for a race... Besides, if the minecart stops you can't finish the race.
Add Minecart as Cart
@astinax
https://www.youtube.com/watch?v=B1YpgHQLzgU
Amazing plugin ! Super useful, I wish it existed earlier ;) Anyway, I made a video presenting it (in French), here's the link: https://www.youtube.com/watch?v=B1YpgHQLzgU
And don't forget happy new year !
@LCastr0
Okay, Bukkit rejected V4.0 because they want me to check for plugin updates in a different way. I changed it and I uploaded it again... It will be up in two days. Sorry for the wait.
@LCastr0
I uploaded it 3 days ago, but I found some bugs so I deleted it again. I fixed all the bugs I could find and uploaded it again, 15 hours ago. I hope Bukkit will accept it soon. I think it will be up by tomorrow.
@Bikkel007
When will 4.0V be done? I really want this plugin on my server :(
@Sudding123 I just uploaded V4.0. Your problem is fixed in this version! It will take some hours before Bukkit approves this version, so please be patient.
@djxfade Version 4.0 supports horse races! You won't have to mount the players, the plugin will do this for you!
@LCastr0 Please wait untill version 4.0 is released. It will generate a new folder because the name of the plugin changed. Please delete your old Race folder (The plugin will nolonger use this folder). When using V4.0, close your server, edit the config.yml in the RaceGames folder, save it and close it. After that restart the server. If the problem is still there, please fill in a Ticket and upload your config.yml.
@Felps11
@Bikkel007
Same happening to me!
@Sudding123
I am aware of this problem. For now you should make the water 1 block underneath the track, but in that case you can't use lily-pads, that's true. I'll fix this soon.
EDIT. I fixed it. It will be fixed for you in the V4.0. I will upload that version sometime next week.
The water is too "sensitive" when a player jump over the water sometimes they will respawn back, and lilypad doesnt work..
@djxfade
Horses are indeed a problem. It is not possible to teleport a player when that player is on the back of a horse. There is no way I can think of how I can make this to work.
But I will look into it!
It works great for footraces. But if you want to do horse races, I have trouble with it. When on horseback, players are not automatically teleported to the start.
Hello,
I'm trying to use your plugin but apparently, the plugin, is ignoring the config.yml.
I try to change everything, like, starts in 15 seconds, the rewards and the amount of players to auto-start, but nothing changes, it still 45 seconds to start, no rewards and 3 players to auto-start...
What could I do to fix it?
Thanks.
@LCastr0
Okay, please fill in a ticket and add your config.yml to your ticket.
Create a ticket >>here<<
@Bikkel007
I downloaded the version. The version only makes the command runs, but the ยง variables aren't working