Sueta
OU

OutOfBounds

0.0.5

The add-on of SnowballGame for playing golf game.

·Plugin

Note: This plugin needs SnowballGame(https://www.spigotmc.org/resources/snowballgame.35339/ ) to work. Please use with that.

OutOfBounds is plugin for playing golf in Minecraft. Balls and Clubs will add.

Ball:

We can use SnowballGame's one. Please name "Golf" for its ball.(Every repulsion is OK, and you can change the name for it on Config.)
When you have golf-ball in your main-hand, you can place it on the ground by left-clicking on a block.

Club:

You can hit the ball by left-clicking towards it and quickly "Swing " your mouse. The ball will fly towards the direction your character's head move.
The velocity and launch-angle of hit-ball will be also affected by the club's feature. You can set it in Config.
You can pick up a placed ball by right-clicking.

HandiCap:
2018-05-28_20.44.28.png

During you wear this cap, you can hit ball with "easy-mode."
Once you left-click, "Power bar" will be shown above. This determines your swing-speed. By clicking again, you can swing the club with that value.
Demo movie is below.(Easy mode)

Video:

Normal mode:
https://i.imgur.com/GU2E8Q2.gif
Easy mode:
https://i.imgur.com/SqRigEw.gif

Configurations:

config.yml
####################
#OutOfBounds Config#
####################

Ball:
    # The name of ball for golf. Naming SnowballGame's ball this name, you can put it on ground.
    Name: Golf
    # The velocity of bounced-ball. If the ball hit on the below-listed block, bounced one's velocity will be affected by "Coefficient" value in each section. If not, will be affected by "Default_Coefficient" value.
    Bounce:
        Default_Coefficient: 0.8
        Type:
        - SAND
        - WOOL
        - LONG_GRASS
        - SLIME_BLOCK
        SAND:
            Coefficient: 0.5
        WOOL:
            Coefficient: 0.5
        LONG_GRASS:
            Coefficient: 0.6
        SLIME_BLOCK:
            Coefficient: 1.2
Cap:
    # Default name of the leather helmet that makes you can play golf with "easy-mode".
    Name: Beginner's handicap
Club:
    # Default name of golf-club.
    Name: Driver
    # Name list for custom club type. Add new one to this list and then define its feature.
    # Power: It determines velocity of hit-ball. The higher value makes longer flight distance.
    # Loft: It affects launch-angle of hit-ball. This value will be added to the angle caliculated from your swing.
    Type:
    - Driver
    - 3Iron
    - 5Iron
    - 7Iron
    - 9Iron
    - Wedge
    - Putter
    Driver:
        Power: 1.2
        Loft: 10
    3Iron:
        Power: 0.9
        Loft: 20
    5Iron:
        Power: 0.8
        Loft: 27
    7Iron:
        Power: 0.7
        Loft: 35
    9Iron:
        Power: 0.6
        Loft: 42
    Wedge:
        Power: 0.5
        Loft: 50
    Putter:
        Power: 0.3
        Loft: 0

Commands:

  • /outofbounds(oob) display all commands of OutOfBounds.
  • /oob reload reload oob's config.
  • /oob get <Club> give an item to sender of this command.

Permissions:

  • OutOfBounds.* Gives all OutOfBounds permissions.
  • OutOfBounds.reload Allows you to reload config.
  • OutOfBounds.get Allows you to get an item from /oob get command.

Similar projects

Plugin →