Description

Pig racing is fun but can be troublesome to maintain:
Someone need to be online for spawning pigs, pulling redstone switches and attempting to decide who won and check that no-one cheated...
Until today!
Setup your own, fully automated piggy races!
Tracks
Define your Pig racing track with the /pr newtrack command:
- Stand where you want the players to start from (min 7x7 block area)
- Use /pr newtrack <racename>
- Right click waypoints of your track
- Type /pr newtrack once again to end the track setup
This is all that is required to setup your Piggy Racing track!
Starting a Piggy Race
A player who wishes to race simply uses the command:
/joinrace
- If there is no upcoming race, a new race started, based on a randomly selected track from the defined tracks
- If there is a upcoming race, the player simply signs up for that race
A player can leave the race at any time by using:
/leaverace
Rewards
Players are currently awarded as follows:
- 1st place gets 1 diamond
- 2nd place gets 1 gold ingot
- 3rd place gets 1 iron
NOTE: Config settings for setting up your own rewards pr. race are underway!
Podiums
Set the podium for a race with the /setpodium command:
- Stand where you want 1st place to be standing and type /pr setpodium <trackname> 1
- Stand where you want 2nd place to be standing and type /pr setpodium <trackname> 2
- Stand where you want 3rd place to be standing and type /pr setpodium <trackname> 3
The top 3 winners of the race will now be teleported to these places after the race, while being given their rewards and showered in flowers!
Betting
When a upcoming race is being announced, players can place bets on a winner until the race starts by using the command:
/bet <amount> <playername>
Note that Vault must be installed in order to use betting.
Installation
Put the PiggyRacers.jar file in your /plugins folder and you are ready to go!
Commands
NOTE: Instead of "piggyracers" you can use the alias "pr"
| Command | Description |
|---|---|
| piggyracers | Show the basic info |
| piggyracers help | Shows the command list |
| piggyracers newtrack <trackname> | Start defining a new race track |
| piggyracers reload | Reloads the config settings from disk |
| joinrace | Joins a race |
| leaverace | Leaves a race |
Permission Nodes
Note that PiggyRacers currently supports PermissionsBukkit, PermissionsEX, bPermissions and GroupManager.
Just PM me with requests for supporting other managers.
- piggyracers.* - Player can do everything below
- piggyracers.reload - Player can reload the Gods configuration file
Configuration
| Setting | Description | Default Value |
|---|---|---|
| Settings.Debug | Enable debugging information | false |
| Settings.ServerName | Name of server | "Your Server" |
| Race.RaceAnnounceTimeSeconds | Announcement time for a upcoming race | 300 |
| Race.TimeOutMinutes | A started race will timeout after this period | 3 |
| Race.MinimumSecondsBetweenRaces | Minimum period between races | 3600 |
| Race.MinimumPlayersInRace | Number of racers that must signed up for a race to start | 3 |
| Betting.Enabled | Bettings are enabled | true |
| Betting.MinimumBet | Minimum bet | 100 |
Upcoming features
- Configurable rewards
- Language support


