QuickDraw
What it does
QuickDraw lets you play the part of a wild west gunslinger. You can challenge your friends to a snowball fight and see who is the quickest on the draw.
The plugin request was here: http:forums.bukkit.org/threads/request-cowboy-game.110480/
Download
Install
Add the QuickDraw-1.0.jar file to your server's plugins directory and start up the server. A config file will be created automatically with the default values.
Dependencies
If you wish players to be able to do QuickDraw challenges for money then you will need to install Vault and the economy plugin of your choice. Vault is a soft-dependency and the plugin will function fine without it :)
How it works
So you want to be a gunslinging cowboy? Yes... then follow these steps:
- Move within 10 blocks of the player you want to invite to a QuickDraw challenge (the 10 block distance is configurable)
- Type the command:
/quickdraw invite [player]
- If configured and Vault and an economy plugin are enabled on the server, you can challenge a player for money with:
/quickdraw invite [player] [amount]
- A message is sent to the invited player asking them whether they want to accept the challenge.
- To accept a challenge, they type:
/quickdraw accept
- Once the player has accepted the challenge, they will be teleported into position opposite you (make sure you're in a flat, clear spot - in the main street outside the saloon will be perfect!)
- Both players' inventories will be saved and cleared
- The players will be prevented from moving
- A short countdown will begin - READY, SET, DRAW!
- A snowball will appear in a random hotkey slot
- The first player to throw the snowball and hit the other player is the QuickDraw winner.
- Inventories and movement are restored, QuickDraw times are displayed, and prize money awarded when the match is over.
You can decline a QuickDraw inviation with the command: /quickdraw decline
or, if no response is received within a configurable time, the invitation will be cancelled.
QuickDraw statistics
To view QuickDraw statistics type the command:
/quickdraw stats
Your 5 best draws and the 10 all-time fastest draws will be displayed.
All the commands
The main command is /quickdraw
but you can also use these aliases:
/qd
/cb
/cowboy
/quickdraw invite [player] [amount]
- Invite another player to a QuickDraw match [amount]
is optional
/quickdraw accept
- Join a QuickDraw match
/quickdraw decline
- Decline a QuickDraw match
/quickdraw stats
- View QuickDraw statistics
/quickdraw restore
- Use this in the unlikely event that your inventory does not get restored
Configuration
There are 6 config options:
use_economy
- Whether to allow the use of economy for QuickDraw matches. Default: true, requires Vault.invite_distance
- the maximum number of blocks away the invited player can be. Default: 10invite_timeout
- the number of seconds before an invite will time out. Default: 20draw_distance
- the number of blocks apart the players are placed for a match. Default: 5unfreeze_after_miss
- the number of seconds after throwing a snowball and missing before a player has their inventory restored. Default: 10replay_if_draw
- Whether an automatic rematch occurs if there is a draw or both players miss. Default: false NOT YET IMPLEMENTED!
Permissions
There is just one:
Allow players to participate in QuickDraw challenges.
quickdraw.draw
Default: OP
What it looks like
Coming soon
no console error this why i contact you ;-) take your time if you do that ty
this not working 1.12.2 this made a error and player stay stuck face to face cant move or do something ;-) great idea pls fix
In reply to obscurerking:
Not surprised it doesn't work anymore it hasn't been updated in 7 years... will look at it if I ever get time.
@treestompz
Any console errors?
Have just tested this, on my development server, and everything seems to work ok (although my QuickDraw times are atrocious - having to switch users between two clients running on the same machine!)
Hey I tried this on my server...the teleporting and all worked but there was never any indication of who won the game. Seems like it isn't working properly.