ModsJava
Simple Rewards
basic skrip for rewards for pvp. Free Minecraft Java mod for 1.8, 1.9.
⬇ Download on Spigot
Spoiler: Features
For 1 Kill = 300Coins
For 50 Kills = 7500Coins
For 100 Kills = 15000Coins
For 500 Kills = 30000Coins
Coming Soon more variable the rewards
For 50 Kills = 7500Coins
For 100 Kills = 15000Coins
For 500 Kills = 30000Coins
Coming Soon more variable the rewards
Skript: Click here to download
skQuery: Click here to download
skRayFall: Click here to download
WildSkript: Click here to download
Spoiler: Configuration The Reward
Edit on line 47 through 57
Code (Text):
#=#####################################=#
#=# #=#
# Achievement #
# v1.2 #
# #
# Designed By HolaSoyGeo #
#=# #=#
#=#####################################=#
# Dont Modify!
options:
Prefix : &c[&aAchievement&c]
Version : 1.2
Designed : HolaSoyGeo
# Messages
msg.reload : &aPlugin Reload Successfully!
on load:
send "&c[&aAchievement&c] &aPlugin Enabled!" to console
send "&c[&aAchievement&c] &7Plugin Version &e{@Version}" to console
on unload:
send "&c[&aAchievement&c] &cPlugin Disable!" to console
send "&c[&aAchievement&c] &7Plugin Version &e{@Version}" to console
on death of player:
add 1 to {ffakills::%attacker%}
add 1 to {kills.%attacker%}
add 1 to {deaths.%victim%}
on join:
set {kills.%player%} to 0
set {deaths.%player%} to 0
command /Achievement [<text>] :
aliases: /achieve
trigger:
if arg 1 is "open":
play raw sound "note.pling" at player with pitch 1 volume 0.1
open chest with 3 rows named "{@Prefix}" to player
wait 0.1 seconds
format slot 10 of player with gray dye named "&c1 KILL" with lore "&7&lOBJETIVE: &c1 KILL!||&7||&7&lSTATE: &c&lINCOMPLETE!||&7&lREWARD:&a None" to close
format slot 12 of player with gray dye named "&c50 KILLS" with lore "&7&lOBJETIVE: &c50 KILLS!||&7||&7&lSTATE: &c&lINCOMPLETE!||&7&lREWARD:&a Permission for /Fly" to close
format slot 14 of player with gray dye named "&c100 KILLS" with lore "&7&lOBJETIVE: &c100 KILLS!||&7||&7&lSTATE: &c&lINCOMPLETE!||&7&lREWARD:&a Permission for /Nick" to close
format slot 16 of player with gray dye named "&c500 KILLS" with lore "&7&lOBJETIVE: &c500 KILLS!||&7||&7&lSTATE: &c&lINCOMPLETE!||&7&lREWARD:&a Permission for /Gamemode 1" to close
if {ffakills::%player%} is greater than 0:
format slot 10 of player with light green dye named "&a1 KILL" with lore "&7&lOBJETIVE: &b1 KILLS!||&e&lSTATE: &a&lCOMPLETE" to close then run [execute console command "/sk"]
if {ffakills::%player%} is greater than 49:
format slot 12 of player with light green dye named "&a50 KILLS" with lore "&7&lOBJETIVE: &b50 KILLS!||&e&lSTATE: &a&lCOMPLETE" to close then run [execute console command "/pex user %player% add essentials.fly"]
if {ffakills::%player%} is greater than 99:
format slot 14 of player with light green dye named "&a100 KILLS" with lore "&7&lOBJETIVE: &bb100 KILLS!||&e&lSTATE: &a&lCOMPLETE" to close then run [execute console command "/pex user %player% add essentials.nick"]
if {ffakills::%player%} is greater than 499:
format slot 16 of player with light green dye named "&a500 KILLS" with lore "&7&lOBJETIVE: &b500 KILLS!||&e&lSTATE: &a&lCOMPLETE" to close then run [execute console command "/pex user %player% add essentials.gamemode"]
if arg 1 is "reload":
if player has permission "achieve.*" or "achieve.admin":
make console execute command "skript reload achievements"
wait 1.22 seconds
send "{@Prefix} {@msg.reload}"
if arg 1 is "top":
set {_1st.point} to 0
set {_2nd.point} to 0
set {_3rd.point} to 0
set {_4th.point} to 0
set {_5th.point} to 0
loop {ffakills::*}:
if loop-value is more than {_1st.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to {_2nd}
set {_3rd.point} to {_2nd.point}
set {_2nd} to {_1st}
set {_2nd.point} to {_1st.point}
set {_1st} to loop-index
set {_1st.point} to loop-value
else if loop-value is more than {_2nd.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to {_2nd}
set {_3rd.point} to {_2nd.point}
set {_2nd} to loop-index
set {_2nd.point} to loop-value
else if loop-value is more than {_3rd.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to loop-index
set {_3rd.point} to loop-value
else if loop-value is more than {_4th.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to loop-index
set {_4th.point} to loop-value
else if loop-value is more than {_5th.point}:
set {_5th} to loop-index
set {_5th.point} to loop-value
open chest with 1 rows named "&3&lTOP KILLS" to player
wait 0.2 seconds
play raw sound "random.pop" at player with pitch 1 volume 0.1
format slot 0 of player with emerald named "&2&lTOP 1" with lore "&a&l%{_1st}%:&7&l %{_1st.point}%" to close
format slot 2 of player with diamond named "&3&lTOP 2" with lore "&a&l%{_2nd}%:&7&l %{_2nd.point}% " to close
format slot 4 of player with gold ingot named "&e&lTOP 3" with lore "&a&l%{_3rd}%:&7&l %{_3rd.point}%" to close
format slot 6 of player with iron ingot named "&7&lTOP 4" with lore "&a&l%{_4tlmg}%:&7&l %{_4th.point}%" to close
format slot 8 of player with coal:0 named "&7&lTOP 5" with lore "&a&l%{_5th}%:&7&l %{_5th.point}%" to close
on load:
if folder "plugins/Achievements" doesn't exists:
send "&e&l(Achievement) &cFolder not found." to console
send "&e&l(Achievement) &6Creating folder..." to console
create folder "plugins/Achievement"
send "&e&l(Achievement) &aFolder created." to console
if file "plugins/Achievement/config.yml" doesn't exists:
send "&e&l(Achievement) &cConfig.yml not found." to console
send "&e&l(Achievement) &6Creating file config.yml..." to console
create file "plugins/Achievement/config.yml"
send "&e&l(Achievement) &aFile created." to console
wf "##------------------------------------------------------------------------------------------------------------------##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## Achievements ##" to "plugins/Achievement/config.yml"
wf "## by: @HolaSoyGeo ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## Version: 1.2 ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "##------------------------------------------------------------------------------------------------------------------##" to "plugins/Achievement/config.yml"
wf "" to "plugins/Achievement/config.yml"
wf "Config: Coming Soon" to "plugins/Achievement/config.yml"
#=# #=#
# Achievement #
# v1.2 #
# #
# Designed By HolaSoyGeo #
#=# #=#
#=#####################################=#
# Dont Modify!
options:
Prefix : &c[&aAchievement&c]
Version : 1.2
Designed : HolaSoyGeo
# Messages
msg.reload : &aPlugin Reload Successfully!
on load:
send "&c[&aAchievement&c] &aPlugin Enabled!" to console
send "&c[&aAchievement&c] &7Plugin Version &e{@Version}" to console
on unload:
send "&c[&aAchievement&c] &cPlugin Disable!" to console
send "&c[&aAchievement&c] &7Plugin Version &e{@Version}" to console
on death of player:
add 1 to {ffakills::%attacker%}
add 1 to {kills.%attacker%}
add 1 to {deaths.%victim%}
on join:
set {kills.%player%} to 0
set {deaths.%player%} to 0
command /Achievement [<text>] :
aliases: /achieve
trigger:
if arg 1 is "open":
play raw sound "note.pling" at player with pitch 1 volume 0.1
open chest with 3 rows named "{@Prefix}" to player
wait 0.1 seconds
format slot 10 of player with gray dye named "&c1 KILL" with lore "&7&lOBJETIVE: &c1 KILL!||&7||&7&lSTATE: &c&lINCOMPLETE!||&7&lREWARD:&a None" to close
format slot 12 of player with gray dye named "&c50 KILLS" with lore "&7&lOBJETIVE: &c50 KILLS!||&7||&7&lSTATE: &c&lINCOMPLETE!||&7&lREWARD:&a Permission for /Fly" to close
format slot 14 of player with gray dye named "&c100 KILLS" with lore "&7&lOBJETIVE: &c100 KILLS!||&7||&7&lSTATE: &c&lINCOMPLETE!||&7&lREWARD:&a Permission for /Nick" to close
format slot 16 of player with gray dye named "&c500 KILLS" with lore "&7&lOBJETIVE: &c500 KILLS!||&7||&7&lSTATE: &c&lINCOMPLETE!||&7&lREWARD:&a Permission for /Gamemode 1" to close
if {ffakills::%player%} is greater than 0:
format slot 10 of player with light green dye named "&a1 KILL" with lore "&7&lOBJETIVE: &b1 KILLS!||&e&lSTATE: &a&lCOMPLETE" to close then run [execute console command "/sk"]
if {ffakills::%player%} is greater than 49:
format slot 12 of player with light green dye named "&a50 KILLS" with lore "&7&lOBJETIVE: &b50 KILLS!||&e&lSTATE: &a&lCOMPLETE" to close then run [execute console command "/pex user %player% add essentials.fly"]
if {ffakills::%player%} is greater than 99:
format slot 14 of player with light green dye named "&a100 KILLS" with lore "&7&lOBJETIVE: &bb100 KILLS!||&e&lSTATE: &a&lCOMPLETE" to close then run [execute console command "/pex user %player% add essentials.nick"]
if {ffakills::%player%} is greater than 499:
format slot 16 of player with light green dye named "&a500 KILLS" with lore "&7&lOBJETIVE: &b500 KILLS!||&e&lSTATE: &a&lCOMPLETE" to close then run [execute console command "/pex user %player% add essentials.gamemode"]
if arg 1 is "reload":
if player has permission "achieve.*" or "achieve.admin":
make console execute command "skript reload achievements"
wait 1.22 seconds
send "{@Prefix} {@msg.reload}"
if arg 1 is "top":
set {_1st.point} to 0
set {_2nd.point} to 0
set {_3rd.point} to 0
set {_4th.point} to 0
set {_5th.point} to 0
loop {ffakills::*}:
if loop-value is more than {_1st.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to {_2nd}
set {_3rd.point} to {_2nd.point}
set {_2nd} to {_1st}
set {_2nd.point} to {_1st.point}
set {_1st} to loop-index
set {_1st.point} to loop-value
else if loop-value is more than {_2nd.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to {_2nd}
set {_3rd.point} to {_2nd.point}
set {_2nd} to loop-index
set {_2nd.point} to loop-value
else if loop-value is more than {_3rd.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to {_3rd}
set {_4th.point} to {_3rd.point}
set {_3rd} to loop-index
set {_3rd.point} to loop-value
else if loop-value is more than {_4th.point}:
set {_5th} to {_4tlmg}
set {_5th.point} to {_4th.point}
set {_4tlmg} to loop-index
set {_4th.point} to loop-value
else if loop-value is more than {_5th.point}:
set {_5th} to loop-index
set {_5th.point} to loop-value
open chest with 1 rows named "&3&lTOP KILLS" to player
wait 0.2 seconds
play raw sound "random.pop" at player with pitch 1 volume 0.1
format slot 0 of player with emerald named "&2&lTOP 1" with lore "&a&l%{_1st}%:&7&l %{_1st.point}%" to close
format slot 2 of player with diamond named "&3&lTOP 2" with lore "&a&l%{_2nd}%:&7&l %{_2nd.point}% " to close
format slot 4 of player with gold ingot named "&e&lTOP 3" with lore "&a&l%{_3rd}%:&7&l %{_3rd.point}%" to close
format slot 6 of player with iron ingot named "&7&lTOP 4" with lore "&a&l%{_4tlmg}%:&7&l %{_4th.point}%" to close
format slot 8 of player with coal:0 named "&7&lTOP 5" with lore "&a&l%{_5th}%:&7&l %{_5th.point}%" to close
on load:
if folder "plugins/Achievements" doesn't exists:
send "&e&l(Achievement) &cFolder not found." to console
send "&e&l(Achievement) &6Creating folder..." to console
create folder "plugins/Achievement"
send "&e&l(Achievement) &aFolder created." to console
if file "plugins/Achievement/config.yml" doesn't exists:
send "&e&l(Achievement) &cConfig.yml not found." to console
send "&e&l(Achievement) &6Creating file config.yml..." to console
create file "plugins/Achievement/config.yml"
send "&e&l(Achievement) &aFile created." to console
wf "##------------------------------------------------------------------------------------------------------------------##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## Achievements ##" to "plugins/Achievement/config.yml"
wf "## by: @HolaSoyGeo ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## Version: 1.2 ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "## ##" to "plugins/Achievement/config.yml"
wf "##------------------------------------------------------------------------------------------------------------------##" to "plugins/Achievement/config.yml"
wf "" to "plugins/Achievement/config.yml"
wf "Config: Coming Soon" to "plugins/Achievement/config.yml"
New Rewards
Simple Rewards is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9. Downloaded 483 times (via Spigot). Download it and open it directly in the game.