Remove unneeded files

This commit is contained in:
Govindas 2022-11-07 18:27:17 +02:00
parent 57664e89cb
commit a63cfff3e1
7 changed files with 2 additions and 226 deletions

BIN
resources/resourcepacks/Unloading.zip (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,89 +0,0 @@
on inventory click:
name of event-inventory is "&6- &a&lPermanent Games &6-" or "&6- &a&lMinigames &6-" or "&a- &6&lList of Games &a-"
clicked inventory is not player's inventory
cancel event
uncolored name of clicked item is set
lore of clicked item does not contain "Temporarily down"
set {_inventory} to player's current inventory
set {_name} to uncolored name of clicked item
if {_name} is "Snowball":
make player execute command "/join snowball"
else if {_name} is "Govindas Survival Games BETA":
make player execute command "/join govindassg"
else if {_name} is "Creative World":
make player execute command "/join creative"
else if {_name} is "Spleent":
make player execute command "/join spleent"
else if {_name} is "Mini Sky Walls":
make player execute command "/join miniskywalls"
else if {_name} is "Elemental Archers":
make player execute command "/join ea"
else if {_name} is "Knockout":
make player execute command "/join knockout"
else if {_name} is "The Mining Camp BETA":
make player execute command "/jointmc"
else if {_name} is "1v1":
make player execute command "/join 1v1"
else if {_name} is "Friendly Survival":
make player execute command "/join survival"
else if {_name} is "Checkers":
make player execute command "/joincheckers"
else if {_name} is "Parkour":
make player execute command "/joinparkour"
#else if {_name} is "Old-school Survival BETA":
#rpGui(player, "OSS")
else if {_name} is "Bomberman":
make player execute command "/join bomberman"
else if {_name} is "RTS Castle Wars BETA":
make player execute command "/join castlewars"
command /games [<text>]:
trigger:
set {_language} to epic variable "%uuid of player%::language"
if {-inventorycache::games::%{_language}%} is not set:
set {-inventorycache::games::%{_language}%} to chest inventory with 6 rows named "&a- &6&lList of Games &a-"
set {_sp} to translate("Friendly survival with tech and magic! Explore many dimensions, grow beautiful trees and more!", player)
set slot 0 of {-inventorycache::games::%{_language}%} to bottle o' enchanting named "&aFriendly Survival" with lore colored "&7%{_sp}%", "", translate("&aThis game can be played &e&lalone&a.", player), "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set slots (1, 10, 19, 28, 37, 46) of {-inventorycache::games::%{_language}%} to light green stained glass pane named "&a"
set {_sp} to translate("Creative world with a lot of useful features! WorldEdit, VoxelSniper, goBrush, goPaint, a huge collection of player heads and even a lot of furniture!", player)
set slot 9 of {-inventorycache::games::%{_language}%} to brick block named "&aCreative World" with lore colored "&7%{_sp}%", "", translate("&aThis game can be played &e&lalone&a.", player), "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Complete parkour races, earn prizes and compete in leaderboards!", player)
set slot 18 of {-inventorycache::games::%{_language}%} to ladder item named "&aParkour" with lore colored "&7%{_sp}%", "", translate("&aThis game can be played &e&lalone&a.", player), "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Mine ores, upgrade pickaxes, buy awesome upgrades and unlock new caves!", player)
set slot 27 of {-inventorycache::games::%{_language}%} to diamond pickaxe with no nbt named "&aThe Mining Camp &c&lBETA" with lore colored "&7%{_sp}%", "", translate("&aThis game can be played &e&lalone&a.", player), "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Here you can find little GUI minigames, these minigames unlike others, aren't made by us, it's just a downloaded plugin, but they are still fun!", player)
set slot 36 of {-inventorycache::games::%{_language}%} to {heads::rubix} named "&a&lGUI Minigames" with lore colored "&7%{_sp}%", "", "&a&l%translate(""CLICK TO OPEN MENU"", player)%"
set {_sp} to translate("Shoot other players with snowballs, buy powerups with melons and play in many different modes!", player)
set slot 3 of {-inventorycache::games::%{_language}%} to snowball named "&fSnowball" with lore colored "&7%{_sp}%", "", "&a◗ &7Deathmatch", "&a◗ &7Team Deathmatch", "&a◗ &7Team Elimination", "&a◗ &7Capture The Flag", "&a◗ &7Juggernaut", "", "&a%translate(""This game can be played with &e&l2&a&l+ &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Loot chests, fight other players, find randomly generated loot with interesting abilities and throw mob eggs like pokeballs!", player)
set slot 5 of {-inventorycache::games::%{_language}%} to slime spawn egg named "&aGovindas Survival Games &c&lBETA" with lore colored "&7%{_sp}%", "", "&a%translate(""This game can be played with &e&l2&a&l+ &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Quickly test your skill by fighting other players with a huge variety of modifiers!", player)
set slot 7 of {-inventorycache::games::%{_language}%} to lead named "&a1v1" with lore colored "&7%{_sp}%", "", "", "&a%translate(""This game can be played with only &e&l2 &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Play various classes with different abilities and use your bow skills to win in many different modes!", player)
set slot 21 of {-inventorycache::games::%{_language}%} to bow named "&aElemental Archers" with lore colored "&7%{_sp}%", "", "&a◗ &7Deathmatch", "&a◗ &7Team Deathmatch", "&a◗ &7Team Elimination", "&a◗ &7Capture The Flag", "&a◗ &7Juggernaut", "", "&a%translate(""This game can be played with &e&l2&a&l+ &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Hit to level up your stick and knock other players in to the void!", player)
set slot 23 of {-inventorycache::games::%{_language}%} to stick named "&aKnockout" with lore colored "&7%{_sp}%", "", "&a%translate(""This game can be played with &e&l2&a&l+ &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Spleef + TNT = Spleent! Explode other players into the void!", player)
set slot 25 of {-inventorycache::games::%{_language}%} to any hoe named "&aSpleent" with lore colored "&7%{_sp}%", "", "&a%translate(""This game can be played with &e&l2&a&l+ &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Defend your castle, attack other castles, command your army and become the best commander!", player)
set slot 39 of {-inventorycache::games::%{_language}%} to stone brick named "&6RTS &7Castle Wars &c&lBETA" with lore colored "&7%{_sp}%", "", "&a%translate(""This game can be played with &e&l2&a&l+ &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Explode your way to other players and explode them!", player)
set slot 41 of {-inventorycache::games::%{_language}%} to tnt named "&aBomberman" with lore colored "&7%{_sp}%", "", "&a%translate(""This game can be played with &e&l2&a&l+ &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
set {_sp} to translate("Gather resources, prepare for fight, protect your Crystal of Life, attack other crystals and win the game!", player)
set slot 43 of {-inventorycache::games::%{_language}%} to light green wool or light blue wool or red wool named "&aMini Sky Walls" with lore colored "&7%{_sp}%", "", "&a%translate(""This game can be played with &e&l2&a&l+ &aplayers."", player)%", "", "&6⇨ &a&l%translate(""CLICK TO PLAY"", player)%"
open {-inventorycache::games::%{_language}%} to player

View File

@ -1,57 +0,0 @@
#override with lore expression so I can make veeery custom lores
#TODO I think Spigot API has a way to get last color code, that would highly reduce count of code needed for this
expression %itemstack% with lore %strings%:
get:
set {_item} to expression 1
set {_lore::*} to expressions 2
loop {_lore::*}:
if loop-value contains "||":
set {_list::*} to loop-value split at "||"
delete {_lore::%loop-index%}
loop {_list::*}:
add 1 to {_i}
set {_lore::%loop-index-1%.%{_i}%} to loop-value-2
loop {_lore::*}:
length of uncolored loop-value is higher than 25
delete {_lore::%loop-index%}
set {_index} to loop-index parsed as a number
set {_line} to loop-value
set {_line::*} to {_line} split at " "
set {_colors} to loop-value
set {_color} to ""
delete {_last}
{_firstline} is not set:
while first index of "§" in {_colors} is not -1:
add 1 to {_nolag}
if {_nolag} is higher than 1000:
send "LAGG lore" to ops
stop
set {_c} to first index of "§" in {_colors}
set {_final} to substring of {_colors} from characters {_c} to {_c}+1
set {_color} to "%{_color}%%{_final}%"
set {_last} to {_final}
set {_colors} to substring of {_colors} from characters {_c}+1 to length of {_colors}
else:
set {_firstline} to true
loop {_line::*}:
if {_text} is not set:
set {_text} to "%{_color}%%loop-value-2%"
else:
set {_text} to "%{_text}% %loop-value-2%"
if length of uncolored {_text} is not less than 25:
add 0.0001 to {_adder}
set {_A} to {_index}+{_adder}
set {_lore::%{_A}%} to {_text}
delete {_text}
{_text} is set:
add 0.0002 to {_adder}
set {_A} to {_index}+{_adder}
set {_lore::%{_A}%} to {_text}
delete {_text}
set lore of {_item} to {_lore::*}
return {_item}

View File

@ -1,5 +1,5 @@
title: Govindas Limework[Hub][Creative][Minigames][PVE]{1.12.2&1.13.2}{Survival}{Custom} title: Govindas Limework[Hub][Creative][Minigames][PVE]{1.16.5&1.19.2}{Survival}{Custom}
``` ```
. .
@ -36,7 +36,7 @@ title: Govindas Limework[Hub][Creative][Minigames][PVE]{1.12.2&1.13.2}{Survival}
Server IP: **mc.limework.net** Server IP: **mc.limework.net**
Version: 1.12.2 and 1.13.2 (varies from server to server) Version: 1.16.5 and 1.19.2 (varies from server to server)
Matrix: https://limework.net/chat Matrix: https://limework.net/chat

View File

@ -1,69 +0,0 @@
import:
org.bukkit.ChatColor
options:
CharacterLimitPerLine: 25
LegacyLoreSupport: true
#USAGE
#set slot 0 of player's current inventory to emerald with lore "your lore here", "maybe here too?"
#OR if the syntax override isn't working for you
#set slot 0 of player's current inventory to emerald with custom lore "your lore here", "maybe here too?"
expression %itemstack% with [custom] lore %strings%:
get:
set {_item} to expression 1
set {_lore::*} to expressions 2
if {@LegacyLoreSupport} is true:
loop {_lore::*}:
loop loop-value split at "||":
add 1 to {_i}
#the weird index is needed to keep things in right line order after split
set {_lore::%loop-index-1%.0%{_i}%} to loop-value-2
if {_lore::%loop-index%.0%{_i}%} is set:
delete {_lore::%loop-index%}
loop {_lore::*}:
length of uncolored loop-value is higher than {@CharacterLimitPerLine}:
loop loop-value split at " ":
set {_color} to ChatColor.getLastColors({_lasttext} ? loop-value-2)
if {_textt} is not set:
set {_textt} to "%{_color}%%loop-value-2%"
else:
set {_textt} to "%{_textt}% %loop-value-2%"
#for getting color codes of last text later
set {_lasttext} to {_textt}
#when one line reaches character limit
if length of uncolored {_textt} is not less than {@CharacterLimitPerLine}:
add {_textt} to {_lorefinal::*}
delete {_textt}
#when the whole line is over, but not reached character limit
{_textt} is set:
add {_textt} to {_lorefinal::*}
delete {_textt}
else:
#when the line doesn't need splitting, it is shorter than the character limit
add loop-value to {_lorefinal::*}
set lore of {_item} to {_lorefinal::*}
return {_item}