Hello everybody,
Here I am with my wonderful, unique event/competition/betting plugin called Villager Fight. Its quite simple, 2 villagers fight eachother with random hits&points, and the side that punches the oppenent till its last health, wins.
Nearly everything is configurable from the health of the villagers to the countdown time. If you have any questions regarding the plugin, feel free to hit me a message or comment down below.
Also the plugin has a betting system incluided in, hooking with any economy plugin which supports vault. Also vip players will earn 2x instead of 1.5x for regular players. You can also make all players earn 2x giving permission to the default group.
UPDATE (Version 2.0): Support for 1.11 added. Also support for 1.9 and 1.10 versions are on the way. You can now add multiple names for villagers that are choosen randomly each match. Also win and lose commands are added to the config.
UPDATE (Version 2.1): Support for 1.10&1.9 added. Fixed 2 major bugs that were screwing up the whole process. The fight should work now properly, the villagers won't spin on a block and winning bets will be given always! Also a new decomplyng system has been added to prevent those dirty leaks. I personally, have also DCMA'd 3 leak pages containing my plugin.
UPDATE (Version 2.2): Support for 1.8 versions have been dropped. The latest version for 1.8 is "v.2.1.41". Also performence has been slightly optimized.
Code (Text):
vfight.vip - Grants 2x money instead of 1.5x for vip players.
vfight.admin - Access to admin commands.
Firstly download Citizens and create a npc. Afterly use the command "/trait vfbet", your done! The NPC will act like a betting npc and you can open the betting page by rightclicking! Citizens is a must if you want to enable betting! You can use this link to see which version of Citizens matches your server version.
Code (Text):
language:
message:
game:
broadcast: '&2&lFIGHT &6|| &eThe fight will start in &2<time>&e! You can still
bid !'
start: '&2&lFIGHT &6|| &eMatch started. Play it gentle boys !'
end: '&2&lFIGHT &6|| &eMatch is over, <team> &ehas won the game !'
endtitle: <team> &e&lwon the game !
terminate: '&dThe villager fight has been terminated by the admin.'
perm: '&4You don''t have permission for this command'
bid:
item: '&a&lBid <amount>$ to <team>'
teamitem: <team>
guiname: '&5&lBIDDING'
done: '&aYou bid &2&l<amount>$&a to <team>'
win: '&6&l!!! &2You win the bet and gain &a&l<amount>$ &2!'
lose: '&4&l!!! &5You lose the bet and lost &a&l<amount>$ &5!'
nogame: '&2&lFIGHT &6|| &cYou can''t bet while there is no game !'
gamestarted: '&2&lFIGHT &6|| &cYou can''t bet while the game is started !'
alreadybet: '&2&lFIGHT &6|| &cYou can''t bet twice !'
moneyerror: '&2&lFIGHT &6|| &cYou dont have &2&l<amount>$ &c!'
critical: <name> &6&ldid a &c&lCritical Strike !
deadly: <name> &6&ldid a &5&lDeadly Blow !!
fatality: <name> &6&ldid a &4&lFatality !!!
blue:
name: '&1&lBlue Team'
villager: '&1&lFahrettin'
red:
name: '&4&lRed Team'
villager: '&4&lNecmettin'
actionbar: '&6&lFIGHT:&1&l<blue-villager>(&9&l<blue-health>&1&l/<blue-maxhealth>&1&l) &4&l<red-villager>(&c&l<red-health>&4&l/<red-maxhealth>)'
time:
and: and
now: now
s: s
second: sec
min: min
hour: hour
day: day
month: month
year: year
options:
biddings:
- 25
- 50
- 100
- 250
- 500
- 1000
- 1500
- 2000
villager:
damage:
critical: 10
normal: 5
deadly: 20
fatality: 40
chance:
fatality: 4
critical: 40
deadly: 12
health: 400
dialogue:
fatality:
victim:
- wouaaa wouaaa wu wu wouaaaaaaaaaa
- Ugaa ugaaa ugaaagaga
attacker:
- Now goto your mommy ! Haha
- Now goto your daddy ! Haha
critical:
victim:
- That bloody hurts ! !#!
- You'll pay !
attacker:
- U are so nub
- Get rekt betch xD
normal:
victim:
- Ouch !#!
- You bastard !#!
attacker:
- Hahahaha!!
- You like that ?
deadly:
victim:
- Oh God he know Kung Fu ! wtf
- Oh God he know Karate ! wtf
attacker:
- Hi-yaaaah!!!
- Ai-yaaaaah!
Code (Text):
language:
message:
game:
broadcast: '&2&lFIGHT &6|| &eThe fight will start in &2<time>&e! You can still
bid !'
start: '&2&lFIGHT &6|| &eMatch started. Play it gentle boys !'
end: '&2&lFIGHT &6|| &eMatch is over, <team> &ehas won the game !'
endtitle: <team> &e&lwon the game !
terminate: '&dThe villager fight has been terminated by the admin.'
perm: '&4You don''t have permission for this command'
bid:
item: '&a&lBid <amount>$ to <team>'
teamitem: <team>
guiname: '&5&lBIDDING'
done: '&aYou bid &2&l<amount>$&a to <team>'
win: '&6&l!!! &2You win the bet and gain &a&l<amount>$ &2!'
lose: '&4&l!!! &5You lose the bet and lost &a&l<amount>$ &5!'
nogame: '&2&lFIGHT &6|| &cYou can''t bet while there is no game !'
gamestarted: '&2&lFIGHT &6|| &cYou can''t bet while the game is started !'
alreadybet: '&2&lFIGHT &6|| &cYou can''t bet twice !'
moneyerror: '&2&lFIGHT &6|| &cYou dont have &2&l<amount>$ &c!'
critical: <name> &6&ldid a &c&lCritical Strike !
deadly: <name> &6&ldid a &5&lDeadly Blow !!
fatality: <name> &6&ldid a &4&lFatality !!!
blue:
name: '&1&lBlue Team'
nameprefix: '&1&l'
red:
name: '&4&lRed Team'
nameprefix: '&4&l'
actionbar: '&6&lFIGHT:&1&l<blue-villager>(&9&l<blue-health>&1&l/<blue-maxhealth>&1&l) &4&l<red-villager>(&c&l<red-health>&4&l/<red-maxhealth>)'
time:
and: and
now: now
s: s
second: sec
min: min
hour: hour
day: day
month: month
year: year
options:
biddings:
- 25
- 50
- 100
- 250
- 500
- 1000
- 1500
- 2000
villager:
chance:
fatality: 4
critical: 40
deadly: 12
health: 400
damage:
normal: 5
critical: 10
deadly: 20
fatality: 40
redteam:
names:
- Ghoul
- Ogre
- Troll
- Ninja
- David
- Zindev
blueteam:
names:
- Rodrigez
- Alzack
- Demon
- Angel
- Sam
- Dean
consolecommand:
loser:
enabled: false
command: give <player> minecraft:dirt 1
winner:
enabled: false
command: give <player> minecraft:emerald 1
dialogue:
fatality:
victim:
- wouaaa wouaaa wu wu wouaaaaaaaaaa
- Ugaa ugaaa ugaaagaga
attacker:
- Now goto your mommy ! Haha
- Now goto your daddy ! Haha
critical:
victim:
- That bloody hurts ! !#!
- You'll pay !
attacker:
- U are so nub
- Get rekt betch xD
normal:
victim:
- Ouch !#!
- You bastard !#!
attacker:
- Hahahaha!!
- You like that ?
deadly:
victim:
- Oh God he know Kung Fu ! wtf
- Oh God he know Karate ! wtf
attacker:
- Hi-yaaaah!!!
- Ai-yaaaaah!