HomeJavaModsDeACoudre
DeACoudre
De A Coudre
2015-11-16_02.29.33.png

Player after player jump in a pool of water while trying not to land on solid blocks. At the location where a player jumps, a column of solid blocks appear so as the minigame progresses, it gets harder and harder...
Win points by jumping in the middle of 4 solid blocks and be the last man standing!
This plugin is one of the first minigame I ever played on Minecraft and it's with nostalgia a recreated it.
This was my first Java project. I hope you guys like it. Don't hesitate to send me suggestions or feedback to help me in my future projects.

Features:

Images
Spoiler: Images
2015-11-16_02.30.21.png
2016-04-11_04.12.06.png
2016-04-11_04.12.13.png
2016-04-11_04.12.21.png
2016-04-11_04.11.22.png
2016-04-11_04.11.50.png
2016-04-11_04.18.24.png

Set Up and Installation
Compatibility: 1.7.10+

Required Plugins
Recommended plugin:
Installation and Configuration:

For upgrading, see release notes.
  1. Download the plugin (DeACoudre.jar) and other mandatory plugins
  2. Place into your plugin folder
  3. Restart your server - this will make the config.yml file
  4. Open the plugin/DeACoudre folder.
  5. Open up config.yml and adjust how you like. If you enable the economy rewards, you must have Vault on your server.
  6. Start your server again
  7. Permissions should be set by default, unless you use a permissions manager. In which case, set up permissions.
  8. Set up arenas
  9. Enjoy
Commands:
Spoiler: Commands
Do /dac help in game to get the complete list

Player Commands
  • /dac - get the plugin's description
  • /dac help [category] [page] - Get all DaC's commands
  • /dac info <arena> - Display to the player all information about an arena.
  • /dac join - Opens a GUI with the list of all arenas. Click to teleport to the lobby
  • /dac join <arena> - Automaticly join the lobby and the game
  • /dac quit - Quit your current game
  • /dac color - Choose a color that will be assigned to you during the game
  • /dac stats - Take a look at all your stats, challenges, and the top 10 players for the different stats
  • /dac start - Start the countdown before the game starts
  • /dac language - Get the available languages list
  • /dac language <language> - Set your language to the selected language
Admin Commands
  • /dac new <arena> - Creates a new arena
  • /dac <arena> delete - Delete an arena
  • /dac <arena> setlobby - Set an arena's lobby
  • /dac <arena> setplateform - Set an arena's plateform
  • /dac <arena> setpool - Must first have a cuboid world edit selection for executing this command. Set an arena's pool
  • /dac <arena> setminplayer [amount] - Set the minimum amount of players for an arena
  • /dac <arena> setmaxplayer [amount] - Set the maximum amount of players for an arena
  • /dac <arena> setcolor - Opens a gui to edit the available blocks for an arena
  • /dac forcestart - Force an arena to start in alone for testing purposes
  • /dac filetomysql - Do this command once to copy all the information in the files to the mysql database
  • /dac reload - reload the config, the language files and the player data

Configuration
Spoiler: Default Config
Code (Text):
# DeACoudre plugin
# Made by PoutineQc
# https://www.spigotmc.org/resources/de-a-coudre.14635/


###################################################################
#                                                                 #
#                     General Configuration                       #
#                                                                 #
###################################################################

# Currently available languages: "fr-FR", "en-US"
# You may make another YAML file with another language
# Simply put it in the LanguageFiles folder and write it's name here (without the ".yml")
# This will option will be the " DaC server language".. The signs will be in this language.
# Warning: If you change this, a simple /dac reload won't do, you'll have to restart the server.
language: en-US

# Set to true if you have a MySQL database and fill the information below
mysql: false
host: 127.0.0.1
port: 3306
user: ''
password: ''
database: 'minecraft'
tablePrefix: 'deacoudre_'

# If you want the Plugin's "logo" ([dac] if not changed) to be displayed in front of every messages
introInFrontOfEveryMessage: true


###################################################################
#                                                                 #
#                     Gameplay Configuration                      #
#                                                                 #
###################################################################

# Players teleport back to the location they were just before joing
# Most useful when having a hub or gaming area of some sort.
teleportAfterEnding: true

# If true, the countdown for the game starts automaticly
#   as soon as the minimum requirement of player is met.
autostart: true

# If true, spectators and waiting players will be invisible and able to fly.
# Useful in huge arenas and with a lot of players.
invisibleFlyingSpectators: true

# The countdown until a players starts the game and the first round starts. (in seconds)
# The players may still join the game during this countdown
countdownTime: 60

# The time before a player is considered idle and will be kicked (in seconds)
timeBeforePlayerTimeOut: 30

# If true : the reset will be done before every game start
# If false : the reset will be done after every game end
resetPoolBeforeGame: true

# Completely kicks a player out of the game when he gets idle
# true to kick the player out of the game
# false to only make him lose a life and switch to the next player
timeOutKick: true

# After this much fails, the game will automaticly end
maxFailBeforeEnding: 10

# Set to false to remove the less important messages during games
#   that may spam the chat
verbose: true

# If you want to disable specific broadcasts
enabledBroadcasts:
  broadcastStart: true
  broadcastAchievements: true
  broadcastCongradulations: true

# if true, players inside the game won't receive the chat
# from players outside of it and vice-versa.
# Too avoid spamming the chat for in-game players on bigger servers.
chatRooms: false


###################################################################
#                                                                 #
#                 Advanced Rewards Configuration                  #
#                                                                 #
###################################################################

# Requires Vault and an economy plugin
economyReward: false

# Choose the reward amounts depending on the values of your server's economy
minAmountReward: 25.0
maxAmountReward: 150.0
bonusCompletingArena: 50.0

# if true, when completing a challenge gives a money reward
# will be false in all cases if you disable the economy rewards
challengeReward: true

# To edit the GamePlayed challenges, Win challenges, Lost Challenge and DaCsDone challenges
# Go in the achievements.yml file in the plugin/DeACoudre folder

# Challenge Rewards
challengeRewardFinishArenaFirstTime: 100.0
challengeReward8PlayersGame: 50.0
challengeRewardReachRound100: 75.0

# It will be a suprise, even to you ;) (unless you go check in the source code which would spoil the fun don't you think?)
hiddenChallengeReward: 100.0

# If you want players to receive item rewards instead of money (or both)
# none : no item rewards
# all : all the elements from the list below
# random : one random element from the list below
itemReward: none

# If this list is empty, no items will be given
# EX: - id:amount:data:item's_display_name
# "item's_display_name" will be the item's display name
# to keep the item's original name, keep this option empty
# EX: - id:amount:data
# Note: Maximum of 64 of each items.
itemRewards:
# Some Examples:
# One diamond named Diamondo
  - 264:1:0:&bDiamondo
# One rabbit stew named Poutine
  - 413:1:0:&6Poutine
# 64 Red tulip
  - 38:64:4

# Commands to be executed as the console when a game ends
# %winner% : will be executed once for each winners if more than one
# %arena% :  the name of the arena
commands:
#  - eco give %winner% 20
#  - broadcast The arena %arena% is now ready for a new game
Spoiler: Achievements Config
Code (Text):
# File to edit the achievements
# Maximum of 7 achievements per categories
# Minimum of 0 if you want to disable them
# Don't worry about this file if you have set
# the economy rewards to false in the config.

# How to use:
# - amount_to_achieve;reward amount

amountOfGamesPlayed:
  - 5;50.0
  - 50;300.0
  - 150;1000.0
  - 666;3000.0

amountOfGamesWon:
  - 1;50.0
  - 10;300.0
  - 100;1000.0
  - 250;3500.0

amountOfGamesLost:
  - 10;42.0
  - 42;150.0
  - 100;300.0
  - 200;800.0

amountOfDaCsDone:
  - 1;10.0
  - 50;50.0
  - 500;500.0
  - 1500;2000.0

Permissions:

Recommended permissions:
For players:

- dac.player.*
For VIP players:
- dac.player.*
- dacreward.multiplier.2

For admins:

- dac.admin.*
Explanation : dacreward.multiplier.x
For each point (x) of this permission you attribute to a player, he will gain a 25% bonus monetary reward at the end of the game.
Example: "dacreward.multiplier.4" gives a 100% bonus rewars.
Note: "dac.admin.*" by default has the permission "dacreward.multiplier.2"

Spoiler: Permissions
Scroll down in the code box to see all permissions:
Code (Text):

permissions:
  dac.*:
    description: Gives access to all DaC commands
    children:
      dac.player.*: true
      dac.admin.*: true
  dac.player.*:
    description: Gives access to all commands simply needed to play the game
    children:
      dac.player.help: true
      dac.player.language: true
      dac.player.list: true
      dac.player.info: true
      dac.player.stats: true
      dac.player.play.*: true
  dac.player.help:
    description: Allows to get DaC help
    default: true
  dac.player.language:
    description: Allows to change personnal language
    default: true
  dac.player.list:
    description: Allows to see all existing arenas
    default: true
  dac.player.info:
    description: Allows to see information about arenas
    default: true
  dac.player.stats:
    description: Allows to use open the stats GUI
    default: true
  dac.player.play.*:
    description: Gives access to all commands simply needed to play the game
    children:
      dac.player.play.join: true
      dac.player.play.quit: true
      dac.player.play.color: true
      dac.player.play.start: true
  dac.player.join:
    description: Allows to join a game
    default: true
  dac.player.quit:
    description: Allows to quit a game
    default: true
  dac.player.color:
    description: Allows to choose a color for the game
    default: true
  dac.player.start:
    description: Allows to start the countdown for a game
    default: true
  dac.admin.*:
    description: Gives access to all commands needed to setup arenas.
    children:
      dac.admin.info: true
      dac.admin.makesigns: true
      dac.admin.forcestart: true
      dac.admin.reload: true
      dac.admin.filetomysql: true
      dac.admin.edit.*: true
      dacreward.multiplier.2: true
  dac.player.info:
    description: Allows to see advanced information about arenas
    default: op
  dac.admin.makesigns:
    description: Allows to make signs
    default: op
  dac.admin.help:
    description: Allows to see the admin's help
    default: op
  dac.admin.forcestart:
    description: Allows to forcestart the begining of a game with only one player for testing.
    default: op
  dac.admin.reload:
    description: Allows to reload the config and the language files
    default: op
  dac.admin.filetomysql:
    description: Allows to convert the file data to the mysql database
    default: op
  dac.admin.edit.*:
    description: Gives access to all commands needed to setup arenas.
    children:
      dac.admin.edit.new: true
      dac.admin.edit.delete: true
      dac.admin.edit.lobby: true
      dac.admin.edit.plateform: true
      dac.admin.edit.pool: true
      dac.admin.edit.color: true
      dac.admin.edit.amountplayer.*: true
  dac.admin.edit.new:
    description: Allows to create a new arena
    default: op
  dac.admin.edit.delete:
    description: Allows to delete an arena
    default: op
  dac.admin.edit.lobby:
    description: Allows to set an arena's lobby
    default: op
  dac.admin.edit.plateform:
    description: Allows to set an arena's plateform
    default: op
  dac.admin.edit.pool:
    description: Allows to set an arena's pool
    default: op
  dac.admin.edit.color:
    description: Allows to set the arena's pillars's material
    default: op
  dac.admin.edit.amountplayer.*:
    description: Gives access to all languages permissions
    children:
      dac.admin.edit.amountplayer.minplayer: true
      dac.admin.edit.amountplayer.maxplayer: true
  dac.admin.edit.amountplayer.minplayer:
    description: Allows to set the arena's min amount of players
    default: op
  dac.admin.edit.amountplayer.maxplayer:
    description: Allows to set the arena's max amount of players
    default: op
  dacreward.multiplier.1:
    description: Gives a 25% bonus money reward
    default: false
  dacreward.multiplier.2:
    description: Gives a 50% bonus money reward
    default: false
  dacreward.multiplier.4:
    description: Gives a 100% bonus money reward
    default: false
 

Signs:
2016-04-11_04.09.23.png
How to make one
[Note] Difference beween a play and join sign
The join sign teleports the player to the arena and should be place for example into a hub.
The play sign does not teleport the player to the arena and should be placed in the arena's lobby. This sign is mostly used if the config's option "teleportAfterEnding" is set to false.


Languages:
Two languages are currently built in. You will find them in the LanguageFiles directory. You may choose one in the config. To create another language, copy another language file, name it however you want, translate it, and simply put it's name without the ".yml" in the config.
It would be very appreciated if any traduction you guys do are being sent to me so I can build them in.

Actual languages:

Testing
If you want to test this plugin before putting in on your server, you may try it out on my test server.
IP: poutineqc.ca


Problems or New Feature Ideas?
Do not hesitate to send me your ideas, feedback and problems. I will try to reply the fastest as possible.
This is my first plugin ever and I look foward to continue improving myself.
Hope you guys enjoy it!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

DeACoudre is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10. Downloaded 7,104 times (via Spigot). Download it and open it directly in the game.

Explore more