PiggyRacers
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
do you update it to 1.8.3? :)
You should add signs. They're pretty easy to do.
can you add horses too?
@Danielh112
What do you mean "buggy" ?
When I start the race it starts fine but then it will go really buggy when he is sat on the pig! I don't know why any solutions?
A tutorial would be great :)
Including organized horse racing would be cool.
Is the betting able to be disabled in the config?
Some of the commands are general and may overlap with other plugins, consider for example changing joinrace to pigrace, I am just foreseeing compatibility issues with other plugins using the same commands.
Can you expand this plugin to include horses?
Once the players have won the race and are in the Podiums. After a certain amount of time are they teleported back to the "Lobby" of the plugin or a customised point set by a command?
- If not, I think you should add as it would really help medium/big sized servers.
1.5.2 friendly?
I can't join the race ... You should show a video about how to use
Will there be a 1.5.1 version of this or is this dead?
@812402
Maybe its because your the only person who joined..
I have just setup this plugin. Set up a race and track. Did /racejoin, and guess what? IT DOESN'T WORK!!!!!! I'm guessing that I did the setup wrong, but how can I tell, because the instructions are almost impossible to follow. Can someone please make a video tutorial on this? I've searched youtube up and down. Nothing! Thanks!
-812
EDIT: Was able to join, but couldn't finish the race. I'm almost absolutely sure I didn't do something right, but I don't know what! The conclusion is you either need a video tutorial or to explain a little bit better! Thanks!
@fbafaro
Agreed, your plugin dont create new race :)
when I try to join a race, it says you cannot sign up for a race at this time.
Great Plugin! Easy to use and the players on my server love it! Below are a couple feature requests...
Can you make a video tutorial? this is a hard plugin to set-up....
Hey, any source code for this thing?
Hi, I was wondering if can be automated so there is a countdown every minute, so I don't have to keep starting new races. Thank you and really look forward to using this plugin!