QuickDraw

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

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

QuickDraw 1.0

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:

  1. Move within 10 blocks of the player you want to invite to a QuickDraw challenge (the 10 block distance is configurable)
  2. 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]
  3. A message is sent to the invited player asking them whether they want to accept the challenge.
  4. To accept a challenge, they type: /quickdraw accept
  5. 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!)
  6. Both players' inventories will be saved and cleared
  7. The players will be prevented from moving
  8. A short countdown will begin - READY, SET, DRAW!
  9. A snowball will appear in a random hotkey slot
  10. The first player to throw the snowball and hit the other player is the QuickDraw winner.
  11. 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: 10
  • invite_timeout - the number of seconds before an invite will time out. Default: 20
  • draw_distance - the number of blocks apart the players are placed for a match. Default: 5
  • unfreeze_after_miss - the number of seconds after throwing a snowball and missing before a player has their inventory restored. Default: 10
  • replay_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

Source code

https:github.com/eccentricdevotion/QuickDraw


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    47615
  • Created
    Nov 23, 2012
  • Last Released File
    Nov 23, 2012
  • Total Downloads
    781
  • License

Categories

Members

Recent Files

Bukkit