ColorMatch
ColorMatch
Another nice minigame!
You get a colored wool in your Inventory and you have to jump onto the corresponding color! Multiple arenas can be set up that are joinable via signs/commands. As of now the last man standing wins, which can't be changed. See further information and configuration options down below.
Setup
Pex doesn't care about OP, you need to give yourself the permissions!
- Set the main lobby where all join signs will be: /cm setmainlobby
For each new arena:
- /cm createarena [name]
- Set the waiting lobby (different than the main lobby!): /cm setlobby [name]
- Setup the minigame (will create a 64x64 area full with wool, be aware of that!): /cm setup [name]
To create a join sign:
1st line: colormatch; 3rd line: arenaname
Creating a join sign requires the permission cm.sign or colormatch.sign.
Smaller Arenas
As of v1.5 you can also create smaller arenas. The setup is the same except for one command, /cm setup is now /cm setupsmall. It will create an 32x32 arena and not the default 64x64 arena, which is good for small servers with less ram.
Glass/Clay mode
As of v1.5.3 you can also create glass arenas. The setup is the same except for one command, /cm setup is now /cm setupglass. This will generate a normal arena but with stained glass in different colors. As of v1.5.5 clay arenas are possible, too.
Commands/Permissions
Command | Description | Permission |
---|---|---|
/cm createarena [name] | creates a new arena | colormatch.setup |
/cm setlobby [name] | sets the waiting lobby for a new arena | colormatch.setup |
/cm setup [name] | sets the new arena up | colormatch.setup |
/cm setupsmall [name] | sets the new arena up (32x32 mode) | colormatch.setup |
/cm setupsmallclay [name] | sets the new arena up (32x32 clay mode) | colormatch.setup |
/cm setupglass [name] | sets the new arena up (glass mode) | colormatch.setup |
/cm setupsmallglass [name] | sets the new arena up (32x32 glass mode) | colormatch.setup |
/cm setupclay [name] | sets the new arena up (clay mode) | colormatch.setup |
/cm setmainlobby | sets the main lobby | colormatch.setup |
/cm removearena [name] | removes a arena | colormatch.setup |
/cm join [name] | joins a game per command | |
/cm leave | leaves the game | |
/cm kitgui | shows all kits in a gui | |
/cm changekit [kit] | changes the kit and lists all, if unknown kit provided | |
/cm start [name] | forces an arena to start | colormatch.start |
/cm reload | reloads the config | colormatch.reload |
/cm list | lists all arenas | colormatch.list |
/cm endall | ends all running colormatch tasks, if something bad happens | colormatch.end |
/cm setdifficulty [arena] [difficulty] | sets the difficulty of an arena | colormatch.setup |
/cm setmaxplayers [arena] [count] | sets max players of an arena | colormatch.setup |
/cm setminplayers [arena] [count] | sets min players of an arena | colormatch.setup |
Creating a join sign requires the permission cm.sign or colormatch.sign.
Config
config: auto_updating: true # I recommend you to set that to true for bugfix releases etc. rounds_per_game: 10 # how many times the color will change per game start_countdown: 5 # seconds to wait before starting a game default_max_players: 4 # max amount of players that can join and will be used as a default default_min_players: 3 # amount of players required to start a game and min amount of players that will be used as a default use_economy_reward: true # if set to true, the winner get the money reward, if false, the item reward money_reward_per_game: 30 itemid: 264 itemamount: 1 use_command_reward: false # will execute the following command as a reward, if set to true command_reward: pex user [user] group set ColorPro start_anouncement: true # enables server broadcasts game_on_join: false # autostart (for bungee servers) bling_sounds: false # turn this on if you want to get 3 blings played before the wool disappears kits: default: name: default potioneffect: SPEED amplifier: 1 lore: The default class. strings: saved: arena: '&aSuccessfully saved arena.' lobby: '&aSuccessfully saved lobby.' setup: '&6Successfully saved spawn. Now setting up, might &2lag&6 a little bit.' not_in_arena: '&cYou don''t seem to be in an arena right now.' config_reloaded: '&6Successfully reloaded config.' arena_is_ingame: '&cThe arena appears to be ingame.' arena_invalid: '&cThe arena appears to be invalid.' arena_invalid_sign: '&cThe arena appears to be invalid, because a join sign is missing.' arena_invalid_component: '&2The arena appears to be invalid (missing components or misstyped arena)!' you_fell: '&3You fell! Type &6/cm leave &3to leave.' you_won: '&aYou won this round, awesome man! Here, enjoy your reward.' starting_in: '&aStarting in &6' starting_in2: '&a seconds.' arena_full: '&cThis arena is full!' starting_anouncement: '&aStarting a new ColorMatch Game in &6' started_anouncement: '&aA new ColorMatch Round has started!'
Kits
Every kit besides the default one requires a permission, colormatch.kit.[kitname]. You can select a kit ingame by typing /cm changekit [name].
You can also add unlimited kits, but be aware that errors might appear, if the potioneffect is not valid. You can find a list of Potioneffects here.
default: name: default potioneffect: SPEED amplifier: 1 lore: The default class.
Arena Difficulty
You can set the difficulty for each arena as of v1.4. Simply do /cm setdifficulty [arenaname] [difficulty] to change it.
Possible difficulties are:
Difficulty | Description |
---|---|
0 | Easy |
1 | Default |
2 | Hard |
The Logarithm:
On each round, the following time is calculated for the next round. d is the difficulty, which can be 0, 1 or 2. 80L can be seen as 4 seconds (20L = 1 second). You can use the following function to determine the seconds in ticks for a round, if you're a big mathematician:
f(x) = 80 - (d * 20) - (4 * x)
Preview
Youtube
Thanks to Wukkit for creating this video like 3 hours after the first release! (a bit outdated as of now)
German tutorial video:
Other reviews:
[GERMAN] My german plugin tutorial: link.
[GERMAN] Another nice german review: link.
[SPANISH] Here's a spanish review for the plugin: link.
[ENGLISH] Another english quick tutorial: link.
[ENGLISH] Plugin review: link.
[POLISH] Plugin review: link.
[GAMEPLAY] Here's a quick gameplay video on Kamoworld by Cam: link.
[PORTUEGESE] Here's a nice portuguese tutorial + gameplay video: link
[ITAILIAN] link
Todo
- add auto-rejoin
- add leaderboards
- add bungee signs support
Additional Information
You can find the source code here.
You can try this plugin out at server.kamoworld.com. ColorMatch is also included in MinigamesParty.
This plugin uses hidendra's Metrics system to send server related information like player count, java/bukkit/plugin version etc. to the official MCStats servers. You can disable this in the config.yml in plugins/PluginMetrics/.
The plugin also uses an autoupdater which can be turned off in the config (see above in the config section).
Have fun :)
@MGbeenieboy
I'm not sure about that, I'll let Instance deal with this one, but it may be because you're using a snapshot? That's my guess, but do not take my word for it, just wait for Instance.
@borncorp
When the server crashes, is any Colormatch arena playing? I just tested it out. I went in a game, restarted my server. The only issue I found is that it said 2/16 players were still in the game, but I could still right-click the sign and join again. Could you elaborate on the issue? Thanks! :)
BUG
Idk if its just my server, but whenever the server is stopped suddenly like in a crash, colormatch signs remain as "inGame" and once the server is back up players cant join, not even doing /cm join arena . An admin has to login and destroy/place the signs again for it to work.
Using ColorMatch v1.7.5
@BucketConfigured
I could not even fix it by having the arena in a world which has a seperated inventory. This looks very interesting http://pastebin.com/ZEBahW6D
@xInfamouZChannel
Yes, the default kit always reappears when you delete it.
@MGbeenieboy
It saves your inventory, but not your armour, so I'm not sure why you're inventory items are disappearing. Maybe another plugin is afflicting with this one?
@McPlayHD
He probably will! :)
In the potions config there's a kit named default which always creates.
You lose your inventar (except for your armor) when you have played a round.
Make a permission for joining an Arena
@James310
Oh that's cool. Well, then I would really much like this added in! :)
@BucketConfigured
Im saying is ......., no it will no affect any other plugin using bar api :) so this feature will work with no problems
@James310
That would be REALLY cool, but one thing, would it not effect other worlds with the same plugin, just for a different game or just as a simple broadcaster.?
BIG SUGGESTION- Can you take advantage of bar api to have bars in-game while playing? Like: BLUE then when the blocks disapear it says: [X] Stop [X] Like Block Party in the hive server.
@BucketConfigured
Thanks for your suggestions, I'll most likely add a few of them :)
@xInfamouZChannel
Kits not buyable? Vault installed and no errors in console?
@instancelabs sometimes the players win immediately, i dont know why, uhm....
and the kits should be buyable (:
BIG suggestions: - Add configurable colours to kit names - Make it so when you enter a clay arena, it gives you the clay colour and not the wool - Make it so the default kit doesn't reappear if you delete from the kits - Kits can have multiple potion effects if you want instead of just 1
Thanks! :)
@ImHackinBored
Sure, I'll add that your gamemode is saved.
@xInfamouZChannel
The scoreboard shows how many players are left alive, 3/5 would mean 3 of 5 players are still alive. Regarding all winning, can be two cases: You got through all rounds without falling or someone left the server completely. Did the plugin output something like "I can't fix the game, stopping now" in the console?
@ImHackinBored
Hmmm. Well, it may be a bug, so you could message the owners of Worldguard or write a suggestion to InstanceLabs here about that option! :)
@BucketConfigured
Oh, I can't get that flag to work. Command works and everything but never change to creative no matter how many times or how long you're in the region.
@xInfamouZChannel
I'm not sure about the first part but I may know why you all win sometimes. It's because in the config, there is something called : rounds_per_game and the default is 10. This means, if you all survive 10 rounds of a new colour being shown up, then you all get teleported out and win.
Why it displays in the scoreboard "Players Left x/x"? for example there are 5 players and says "Players left 5/5" instead of maxplayers that in my case is 30? Also sometimes we all win! o.o
@ImHackinBored
When the match is over, it teleports you to your lobby. In the lobby, you can set a world guard region and have it flagged (/rg flag <region_ID> game-mode CREATIVE) so that it sets you to gamemode 1 or c when you're in that region.