The point of this game is to click as many moles as you can in the game gui to earn as many points as possible and beat your high score! This game has some cool features that I would like to share, but first, let me explain how this game is played. NOTE: This plugin can be used for any type of server! Just set "GameItemLocation" to -1 and let your users use /wmpstart to play the game and earn rewards accordingly!
Once you click on a specific item that you have specified in the config, in this case it is FLOWER_POT_ITEM which is a flower pot, a gui will open up where you click as many moles as you can. The ground is represented as a piece of dirt and the mole is represented as a flower pot. Once you click on a mole, you will be sent a message saying your current score! If you beat your high score, some cool rewards are to be defined in the config!
Rewards system.
Game Signs
Anti-Exploit
Music
Particles.
Specify how long each game will take.
Stats.
Full UUID support.
Permissions.
Per world support.
Specify how hard the game is.
Fully customizable messages.
Disable the item so it can be only used via command.
Suitable for any servers!
Reward System
There are 2 ways of getting rewards. One way is by hitting a certain amount of moles and the other one is by beating your high score. First, I will talk about what happens when you hit a certain amount of moles. When you hit a certain amount of moles (Defined in the config), you can send the player a message, execute commands, broadcast a message, and even play a particle effect! This works the same when you beat your high score! Here is an example:
5:
PlayerMessage: true
Messages:
- "&cCongratulations on whacking &75 moles %player%&c!"
PlayerCommand: true
Commands:
- "msg %player% congrats!"
PlayerBroadcast: true
Broadcast: "&7%player% &chas whacked &75 moles&c!"
PlayerParticle: false
Particle: FlameTwirl
This will run once I hit 5 moles.
Particles
With WhackAMole+, you are able to choose between 11 different particles to play. The 11 particles are:
# (Particles: BarrierTwirl, CloudTwirl, CritTwirl,
# FireworkTwirl, FlameTwirl, LavaTwirl, MagicCritTwirl,
# PortalTwirl, SpellTwirl, SuspendedTwirl, WaterTwirl)
GameTime
If you do not want your players playing the game forever, you can set a game time! What I mean by that is if I set my GameTime to 20 seconds, once I start playing Whack A Mole, the game will automatically close in 20 seconds. You can disable this feature by setting GameTime to 0 seconds.
Game Signs
Thats right, you can play the game by clicking on a sign! The first line must be "[WMP]" while the second line is "Game" This will make a custom sign with custom lines that you have made in the config.yml! You may then remove the sign by using /wmpremove
Stats
Do not worry, all of your stats are saved in the data.yml! You can edit, change a players high score or how many games they played in the data.yml! Stats are 100% UUID support and can be viewed in game by using /wmpstats or /wmpstats <player> and you can clear stats by using /wmpstatsclear or /wmpstatsclear <player>!
Per World Support
What if you do not want the game item to follow you around wherever you go? You just add your world to the "DisabledWorlds" list in the config.yml and do /wmpreload!
Music
Why play WhackAMole+ without music? Thats right! You can add your own .nbs file into the songs folder to play your own music while playing! WhackAMole+ will pick a random song to play! You can turn this feature off my setting "DoMusic" to false. This feature will only work if you have NoteBlockAPI installed! Make sure you have music in your songs folder too!
wmp.admin - reload config : make a game sign : remove a game sign
wmpstats.self - view your stats
wmpstats.other - view another player's stats
wmpstats.clear - clear your stats
wmpstats.clearother - clear another player's stats
wmpgame.start - access to play the game via command.
/wmpreload - reload config
/wmpstats - view your stats
/wmpstats <player> - view a player's stats
/wmpstatsclear - clear your stats
/wmpstatsclear <player> - clear a player's stats
/wmpstart - play the game with a command
/wmpremove - Remove a game sign.
Last edited:
