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.
@JunHWhang
Are you using version 2.0 ? If you do, there should be a config at plugins/race/config.yml If you are using version 1.0 I strongly recommend you to use version 2.0.
If this still doesn't fix your problem, you can download the config.yml here: http://dev.bukkit.org/bukkit-plugins/racer/pages/config-yml/ Just copy and paste it in your empty config.yml
@Bikkel007
The config still blank.
@LCastr0
I know. It's fixed in this version: http://tinyurl.com/phf8m94 It will also work in newer versions.
@JunHWhang
About your config, try to delete the config.yml and restart your server so it creates a new config.yml
I will also fix the leave bug.
I got a suggestion:
1. /race stop - stops race
2. /race prefix <prefix> Change Plugin Prefix. ex. Instead of [Race], we can change to [Racers]. if that command not possible, is it possible to add into config.
3. Prizes for 1st, 2nd, or 3rd placed winners.
4. Max Player in config.
Bug Report:
My config ends up blank. There's nothing in the config.yml How to fix?
@Bikkel007
The §<number> is not working :(
@jjkrause
Thank you. I see I made a very small mistake with V2.0 so the commands will not get executed. I already fixed it, but I don't want to release a new update for every small bugfix. If you want the fixed version, you can download it here: http://tinyurl.com/phf8m94
Implementing laps is not possible as far as I know. The plugin can not see if the player actually finished another lap or if he just walked back to cross the line again.
Awesome, you're amazingly quick to implement new ideas! Maybe look into implementing laps in the future...
Thanks!
@JebananyPL
I will start working on that.
EDIT It's done. It will be added to V3.0
Can you add language file?
I just added V2.0, it's awaiting Bukkit's approval. Please let the plugin generate a new config.yml when you use this new version!
@jjkrause Good idea, I added it to version V2.0. You can now add commands you want to get executed at the end of the race. Use §[position] for names, so §1 will get replaced with the name of the winner, §3 with the name of the third player, §8 ... 8th player, etc.
I also made it that if you refer to a position (Let's say §4, so the fourth position) but there are only 3 players, the command with §4 or higher won't get executed.
@mijkolsmith I think this also answers your question
Cool plugin. I will download and test on my server with a horse race. It would be awesome if you could allow custom commands to be run for 1st, 2nd and 3rd place winners. That way, I could reward them with in-game cash/credits.
Cool plugin, Does it also handle rewards instead of broadcast? Or else you could maybe add this. It must be simple to add a 'give' command instead of broadcast, right?
@LevyTrevy
I will add that!
Here's a suggestion:
Have a /race r or /race reload command to reload the config file!
That would be very nice for my Minigames server, If you need a tester contact me, skype: Max_DL_28 Youtube: http://www.youtube.com/TropixInMinecraft