diff --git a/BungeeCord.jar b/BungeeCord.jar new file mode 100644 index 0000000..98ad4c3 Binary files /dev/null and b/BungeeCord.jar differ diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..068a0b3 --- /dev/null +++ b/config.yml @@ -0,0 +1,52 @@ +enforce_secure_profile: false +listeners: +- query_port: 25565 + motd: '&cТестовый bungee-сервер' + tab_list: GLOBAL_PING + query_enabled: true + proxy_protocol: false + forced_hosts: + pvp.md-5.net: pvp + ping_passthrough: true + priorities: + - lobby + bind_local_address: true + host: 0.0.0.0:25565 + max_players: 5 + tab_size: 60 + force_default_server: true +remote_ping_cache: -1 +network_compression_threshold: 256 +permissions: + default: + - bungeecord.command.server + - bungeecord.command.list + admin: + - bungeecord.command.alert + - bungeecord.command.end + - bungeecord.command.ip + - bungeecord.command.reload + - bungeecord.command.kick +log_pings: true +connection_throttle_limit: 3 +server_connect_timeout: 5000 +timeout: 30000 +player_limit: -1 +prevent_proxy_connections: false +ip_forward: false +groups: + md_5: + - admin +remote_ping_timeout: 5000 +connection_throttle: 4000 +log_commands: false +stats: 2063a89d-bf28-4bb7-a8c1-56b6dd57e241 +online_mode: false +forge_support: false +disabled_commands: +- disabledcommandhere +servers: + lobby: + motd: '&1Just another BungeeCord - Forced Host' + address: 135.181.170.94:25630 + restricted: false diff --git a/modules.yml b/modules.yml new file mode 100644 index 0000000..852f451 --- /dev/null +++ b/modules.yml @@ -0,0 +1,8 @@ +version: 2 +modules: +- jenkins://cmd_alert +- jenkins://cmd_find +- jenkins://cmd_list +- jenkins://cmd_send +- jenkins://cmd_server +- jenkins://reconnect_yaml diff --git a/modules/cmd_alert.jar b/modules/cmd_alert.jar new file mode 100644 index 0000000..7a76e49 Binary files /dev/null and b/modules/cmd_alert.jar differ diff --git a/modules/cmd_find.jar b/modules/cmd_find.jar new file mode 100644 index 0000000..304c258 Binary files /dev/null and b/modules/cmd_find.jar differ diff --git a/modules/cmd_list.jar b/modules/cmd_list.jar new file mode 100644 index 0000000..912d35c Binary files /dev/null and b/modules/cmd_list.jar differ diff --git a/modules/cmd_send.jar b/modules/cmd_send.jar new file mode 100644 index 0000000..0650a7e Binary files /dev/null and b/modules/cmd_send.jar differ diff --git a/modules/cmd_server.jar b/modules/cmd_server.jar new file mode 100644 index 0000000..84e60bf Binary files /dev/null and b/modules/cmd_server.jar differ diff --git a/modules/reconnect_yaml.jar b/modules/reconnect_yaml.jar new file mode 100644 index 0000000..3c523a4 Binary files /dev/null and b/modules/reconnect_yaml.jar differ diff --git a/plugins/AdvancedBan-Bundle-2.3.0-RELEASE.jar b/plugins/AdvancedBan-Bundle-2.3.0-RELEASE.jar new file mode 100644 index 0000000..342de90 Binary files /dev/null and b/plugins/AdvancedBan-Bundle-2.3.0-RELEASE.jar differ diff --git a/plugins/AdvancedBan/Layouts.yml b/plugins/AdvancedBan/Layouts.yml new file mode 100644 index 0000000..27a3470 --- /dev/null +++ b/plugins/AdvancedBan/Layouts.yml @@ -0,0 +1,45 @@ +# The default layouts are in the Message.yml file! + +# Message-Layouts can not only be used for bans but also for mutes and warns +# Currently available variables: +# %OPERATOR% - The user who dealt the punishment. +# %REASON% - Reason for punishment. +# %PREFIX% - Prefix set in Message.yml. +# %DURATION% - Amount of time left before a punishment expires (will be -1 for permanent punishments). +# %DATE% - Date punishment was issued on. +# %ID% - Displays the punishment ID (i.e. first punishment = 0, second punishment = 1, third punishment = 2, etc.) +# %HEXID% - Displays the punishment ID in base 16. +# For warns you have also the variable %COUNT% which will be +# replaced with the current amount of warns the player already received +# Example usage: /ban Leoko @ExampleLayout +Message: + ExampleLayout: + - '%PREFIX% &7Banned for Hacking' + - '&c&oBanned by %OPERATOR%' + - '&7' + - "&cIt seems like you are using a" + - "&chacked client please disable it!" + - "&cUnban in &8» &7%DURATION%" + - '&7' + - '&8Unban application in TS or forum' + - "&eTS-Ip &8» &c&ncoming soon" + - "&eForum &8» &c&ncoming soon" + ExampleLayout2: + - '%PREFIX% &7Banned for offensive language' + - '&7' + - "&cWe don't tolerate swearing on our server!" + - "&cYou got banned for the word '%REASON%'" # You can even use reasons in message layouts + +# You would use this time-layout for example like this: "/tempban Leoko #ExampleLayout Hacking in FFA" +# Or with "/tempwarn Leoko #ExampleLayout Advertising" or even "/tempwarn Leoko #ExampleLayout No capslock please" +# You can also combine this with MessageLayouts like "/tempban Leoko #ExampleLayout @Hacking" +Time: + ExampleLayout: + - '30m' + - '2h' + - '1d' + - '1w' + - '1mo' + - '2mo' + - '4mo' + - 'perma' \ No newline at end of file diff --git a/plugins/AdvancedBan/Messages.yml b/plugins/AdvancedBan/Messages.yml new file mode 100644 index 0000000..8469ed5 --- /dev/null +++ b/plugins/AdvancedBan/Messages.yml @@ -0,0 +1,307 @@ +General: + Prefix: "&c&lAdvancedBan &8&l»" + NoPerms: "&cYou don't have perms for that!" + LayoutNotFound: "&cThere is no layout called %NAME%" + # This will be the replacement for the %DURATION% variable + TimeLayoutD: "%D%day(s) %H%h %M%min and %S%sec" + TimeLayoutH: "%H%hour(s) %M%min and %S%sec" + TimeLayoutM: "%M%min and %S%sec" + TimeLayoutS: "%S% seconds" + FailedFetch: "&cCould not fetch the UUID of %NAME%! See console for details." + + +Ban: + Usage: "&cUsage &8» &7&o/ban (-s) [Name] [Reason/@Layout]" + Done: "&c&o%NAME% &7was successfully banned!" + AlreadyDone: "&c&o%NAME% &7has already been banned!" + Exempt: "&7You are not able to ban &c&o%NAME%" + Layout: + - '%PREFIX% &7Permanently banned' + - '&7' + - '&7' + - "&cReason &8» &7%REASON%" + - '&7' + - '&8Unban application in TS or forum' + - "&eTS-Ip &8» &c&ncoming soon" + - "&eForum &8» &c&ncoming soon" + Notification: + - "&c&o%NAME% &7got banned by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + UndoNotification: "&e&o%OPERATOR% &7unbanned &c&o%NAME%" + +Ipban: + Usage: "&cUsage &8» &7&o/banip (-s) [Name/IP] [Reason/@Layout]" + Layout: + - '%PREFIX% &7Permanently banned' + - '&7' + - '&7' + - "&cReason &8» &7%REASON%" + - '&7' + - '&8Unban application in TS or forum' + - "&eTS-Ip &8» &c&ncoming soon" + - "&eForum &8» &c&ncoming soon" + Notification: + - "&c&o%NAME% &7got banned by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + IpNotCashed: "&cThere is no saved IP for %NAME%!" + +Tempban: + Usage: "&cUsage &8» &7&o/tempban (-s) [Name] [Xmo/Xd/Xh/Xm/Xs/#TimeLayout] [Reason/@Layout]" + MaxDuration: "&cYou are not able to ban more than %MAX%sec" + Layout: + - '%PREFIX% &7Temporarily banned' + - '&7' + - '&7' + - "&cReason &8» &7%REASON%" + - "&cDuration &8» &7%DURATION%" + - '&7' + - '&8Unban application in TS or forum' + - "&eTS-Ip &8» &c&ncoming soon" + - "&eForum &8» &c&ncoming soon" + Notification: + - "&c&o%NAME% &7got banned by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + - "&7&oThis player got banned for &e&o%DURATION%" + +Tempipban: + Usage: "&cUsage &8» &7&o/tempipban (-s) [Name/IP] [Xmo/Xd/Xh/Xm/Xs/#TimeLayout] [Reason/@Layout]" + MaxDuration: "&cYou are not able to ban more than %MAX%sec" + Layout: + - '%PREFIX% &7Temporarily banned' + - '&7' + - '&7' + - "&cReason &8» &7%REASON%" + - "&cDuration &8» &7%DURATION%" + - '&7' + - '&8Unban application in TS or forum' + - "&eTS-Ip &8» &c&ncoming soon" + - "&eForum &8» &c&ncoming soon" + Notification: + - "&c&o%NAME% &7got banned by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + - "&7&oThis player got banned for &e&o%DURATION%" + +Mute: + Usage: "&cUsage &8» &7&o/mute (-s) [Name] [Reason/@Layout]" + Done: "&c&o%NAME% &7was successfully muted!" + AlreadyDone: "&c&o%NAME% &7has already been muted!" + Exempt: "&7You are not able to mute &c&o%NAME%" + Layout: + - '%PREFIX% &7You are permanently muted' + - "&cReason &8» &7%REASON%" + Notification: + - "&c&o%NAME% &7got muted by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + UndoNotification: "&e&o%OPERATOR% &7unmuted &c&o%NAME%" + +Tempmute: + Usage: "&cUsage &8» &7&o/tempmute (-s) [Name] [Xmo/Xd/Xh/Xm/Xs/#TimeLayout] [Reason/@Layout]" + MaxDuration: "&cYou are not able to mute more than %MAX%sec" + Layout: + - '%PREFIX% &7You are muted for %DURATION%' + - "&cReason &8» &7%REASON%" + Notification: + - "&c&o%NAME% &7got muted by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + - "&7&oThis player got muted for &e&o%DURATION%" + +Warn: + Usage: "&cUsage &8» &7&o/warn (-s) [Name] [Reason/@Layout]" + Done: "&c&o%NAME% &7was successfully warned!" + Exempt: "&7You are not able to warn &c&o%NAME%" + Layout: + - '%PREFIX% &cYou received a warning' + - "&cReason &8» &7%REASON%" + - '&7You have now &c&o%COUNT% &7warning(s) in total!' + Notification: + - "&c&o%NAME% &7got warned by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + +Note: + Usage: "&cUsage &8» &7&o/note (-s) [Name] [Reason]" + Done: "&c&o%NAME% &7was successfully noted!" + Exempt: "&7You are not able to note &c&o%NAME%" + Notification: + - "&c&o%NAME% &7got noted by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + +Tempwarn: + Usage: "&cUsage &8» &7&o/tempwarn (-s) [Name] [Xmo/Xd/Xh/Xm/Xs/#TimeLayout] [Reason/@Layout]" + MaxDuration: "&cYou are not able to warn more than %MAX%sec" + Layout: + - '%PREFIX% &cYou received a temp-warning' + - "&cReason &8» &7%REASON%" + - "&cIt will pass in &8» &7%DURATION%" + - '&7You have now &c&o%COUNT% &7warning(s) in total!' + Notification: + - "&c&o%NAME% &7got temp-warned by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + - "&7This warning will pass in &o%DURATION%" + +Kick: + Usage: "&cUsage &8» &7&o/kick (-s) [Name] [Reason/@Layout]" + Done: "&c&o%NAME% &7was successfully kicked!" + NotOnline: "&c&o%NAME% &7is not online!" + Exempt: "&7You are not able to kick &c&o%NAME%" + Layout: + - '%PREFIX% &7You got kicked' + - '&7' + - "&cReason &8» &7%REASON%" + - '&7' + Notification: + - "&c&o%NAME% &7got kicked by &e&o%OPERATOR%" + - "&7For the reason &o%REASON%" + + +UnBan: + Usage: "&cUsage &8» &7&o/unban [Name/IP]" + NotPunished: "&c&o%NAME% is not banned!" + Done: "&a&o%NAME% &7was successfully unbanned!" + Notification: "&e&o%OPERATOR% &7unbanned &c&o%NAME%" + +UnMute: + Usage: "&cUsage &8» &7&o/unmute [Name]" + NotPunished: "&c&o%NAME% is not muted!" + Done: "&a&o%NAME% &7was successfully unmuted!" + Notification: "&e&o%OPERATOR% &7unmuted &c&o%NAME%" + +UnWarn: + Usage: "&cUsage &8» &7&o/unwarn [ID] or /unwarn clear [Name]" + NotFound: "&cCould not find warning #%ID%" + Done: "&7Warn &a&o#%ID% &7was successfully deleted!" + Notification: "&e&o%OPERATOR% &7unwarned &c&o%NAME%" + Clear: + Empty: "&c&o%NAME% &7has no warnings!" + Done: "&7Cleared &a&o%COUNT% &7warnings" + +UnNote: + Usage: "&cUsage &8» &7&o/unnote [ID] or /unnote clear [Name]" + NotFound: "&cCould not find note #%ID%" + Done: "&7Note &a&o#%ID% &7was successfully deleted!" + Notification: "&e&o%OPERATOR% &7unnoted &c&o%NAME%" + Clear: + Empty: "&c&o%NAME% &7has no notes!" + Done: "&7Cleared &a&o%COUNT% &7notes" + +UnPunish: + Usage: "&cUsage &8» &7&o/unpunish [ID]" + NotFound: "&cCould not find punishment #%ID%" + Done: "&7Punishment &a&o#%ID% &7was successfully deleted!" + + +Banlist: + Usage: "&cUsage &8» &7&o/banlist " + OutOfIndex: "&cThere is no page %PAGE%!" + NoEntries: "&c&oThere are no entries" + Header: + - "%PREFIX% &7Banlist:" + - "&c&oPlayer/IP &8| &e&oDuration &8| &7&oBanned by" + - "&c&oType &8> &7&oReason" + - "&7" + Entry: + - "&8[&e%DATE%&8]" + - "&c%NAME% &8| &e%DURATION% &8| &7%OPERATOR%" + - "&c%TYPE% &8> &7&o%REASON%" + - "&7" + Footer: "&7Page &e&o%CURRENT_PAGE% &7of &e&o%TOTAL_PAGES% &8| &7Listed bans: &e&o%COUNT%" + PageFooter: "&7Use &e&o/banlist %NEXT_PAGE% &7to see the next page" + +History: + Usage: "&cUsage &8» &7&o/history [Name/IP] " + OutOfIndex: "&cThere is no page %PAGE%!" + NoEntries: "&c&oCould not find the history of %NAME% :(" + Header: + - "%PREFIX% &7History for %NAME%:" + - "&c&oName &8| &e&oDuration &8| &7&oOperator" + - "&c&oType &8> &7&oReason" + - "&7" + Entry: + - "&8[&e%DATE%&8]" + - "&c%NAME% &8| &e%DURATION% &8| &7%OPERATOR%" + - "&c%TYPE% &8> &7&o%REASON%" + - "&7" + Footer: "&7Page &e&o%CURRENT_PAGE% &7of &e&o%TOTAL_PAGES% &8| &7Total entries: &e&o%COUNT%" + PageFooter: "&7Use &e&o/history %NAME% %NEXT_PAGE% &7to see the next page" + +Warns: + Usage: "&cUsage &8» &7&o/warns [Name] &cor &7&o/warns " + OutOfIndex: "&cThere is no page %PAGE%!" + NoEntries: "&c&o%NAME% has no warnings yet" + Header: + - "%PREFIX% &7Warnings for %NAME%:" + - "&c&oName &8| &e&oDuration &8| &7&oWarned by" + - "&c&o#ID &8> &7&oReason" + - "&7" + Entry: + - "&8[&e%DATE%&8]" + - "&c%NAME% &8| &e%DURATION% &8| &7%OPERATOR%" + - "&c&l#%ID% &8> &7&o%REASON%" + - "&7" + Footer: "&7Page &e&o%CURRENT_PAGE% &7of &e&o%TOTAL_PAGES% &8| &7Active warnings: &e&o%COUNT%" + PageFooter: "&7Use &e&o/warns %NAME% %NEXT_PAGE% &7to see the next page" + +WarnsOwn: + OutOfIndex: "&cThere is no page %PAGE%!" + NoEntries: "&c&oYou have no warnings yet" + Header: + - "%PREFIX% &7Your warnings:" + - "&e&oDuration &8| &7&oWarned by" + - "&c&o#ID &8> &7&oReason" + - "&7" + Entry: + - "&8[&e%DATE%&8]" + - "&e%DURATION% &8| &7%OPERATOR%" + - "&c&l#%ID% &8> &7&o%REASON%" + - "&7" + Footer: "&7Page &e&o%CURRENT_PAGE% &7of &e&o%TOTAL_PAGES% &8| &7Active warnings: &e&o%COUNT%" + PageFooter: "&7Use &e&o/warns %NEXT_PAGE% &7to see the next page" + +Notes: + Usage: "&cUsage &8» &7&o/notes [Name] &cor &7&o/notes " + OutOfIndex: "&cThere is no page %PAGE%!" + NoEntries: "&c&o%NAME% has no notes yet" + Header: + - "&7" + - "%PREFIX% &7Notes for %NAME%:" + - "&7" + Entry: + - "&7%DATE% &8| &7By &o%OPERATOR% &7(&c#%ID%&7)" + - "&8> &e%REASON%" + - "&7" + Footer: "&7Page &e&o%CURRENT_PAGE% &7of &e&o%TOTAL_PAGES% &8| &7Notes: &e&o%COUNT%" + PageFooter: "&7Use &e&o/notes %NAME% %NEXT_PAGE% &7to see the next page" + +NotesOwn: + OutOfIndex: "&cThere is no page %PAGE%!" + NoEntries: "&c&oYou have no notes yet" + Header: + - "&7" + - "%PREFIX% &7Your notes:" + - "&7" + Entry: + - "&7%DATE% &8| &7By &o%OPERATOR% &7(&c#%ID%&7)" + - "&8> &e%REASON%" + - "&7" + Footer: "&7Page &e&o%CURRENT_PAGE% &7of &e&o%TOTAL_PAGES% &8| &7Notes: &e&o%COUNT%" + PageFooter: "&7Use &e&o/notes %NEXT_PAGE% &7to see the next page" + +ChangeReason: + Usage: "&cUsage &8» &7&o/change-reason [ID or ban/mute USER] [New reason]" + Done: "&7Punishment &a&o#%ID% &7has successfully been updated!" + NotFound: "&cSorry we have not been able to find this punishment" + +Check: + Usage: "&cUsage &8» &7&o/check [Name]" + Header: "&7Checking &e&o%NAME% &8(%CACHED%&8)" + UUID: "&cUUID &8» &7%UUID% &8(%CACHED%&8)" + IP: "&cIP &8» &7%IP% &8(%CACHED%&8)" + Geo: "&cCountry &8» &7%LOCATION%" + Mute: "&cMuted &8» &7%DURATION%" + MuteReason: " &cReason &8» &7%REASON%" + Ban: "&cBanned &8» &7%DURATION%" + BanReason: " &cReason &8» &7%REASON%" + Warn: "&cWarns &8» &7%COUNT%" + Note: "&cNotes &8» &7%COUNT%" + NotFound: "&cSorry we have not been able to find %NAME%" + Cached: "&a&ocached" + NotCached: "&c&onot cached" diff --git a/plugins/AdvancedBan/config.yml b/plugins/AdvancedBan/config.yml new file mode 100644 index 0000000..24f8d5d --- /dev/null +++ b/plugins/AdvancedBan/config.yml @@ -0,0 +1,138 @@ +# AdvancedBan v2 - Coded by Leoko +# For each setting, there is a small description. +# Please read each description carefully before changing anything. +# For more information visit: https://www.spigotmc.org/resources/advancedban.8695/ +# Do you want your own Plugin or Website? Check out our Dev-Page: http://dev.skamps.eu + +# If set to false all bans will be saved locally in a HSQLDB-Database +UseMySQL: false + +MySQL: + IP: localhost + DB-Name: database-name + Username: admin + Password: superSecret + Port: 3306 + Properties: 'verifyServerCertificate=false&useSSL=false&useUnicode=true&characterEncoding=utf8' + +# Set to false if you want to have only short messages in the console +# On startup and on the shutdown. +DetailedEnableMessage: true +DetailedDisableMessage: true + +# Whether to disallow connections to the server when there is an error +# with the database. (e.g.: if your MySQL Server goes down) +LockdownOnError: true + +# This will be the default reason to be displayed if none is given +DefaultReason: "none" + +# Change this if your server has a different time that your users. +# e.g.: ServerTime: 16:43 | Your Time: 13:43 | TimeDiff has to be set to -3 +# You can check the server time with /systemPrefs +TimeDiff: 0 + +# This commands will be disabled for muted players +# A player wouldn't be able to bypass with eg "/minecraft:me" +MuteCommands: +- 'me' +- 'say' +- 'action' +- 'eaction' +- 'describe' +- 'edescribe' +- 'eme' +- 'w' +- 'm' +- 'pm' +- 'whisper' +- 'ewhisper' +- 'emsg' +- 'msg' +- 'etell' +- 'tell' +- 'er' +- 'r' +- 'reply' +- 'ereply' +- 'ac' +- 'eac' +- 'amsg' +- 'eamsg' +- 'ehelpop' +- 'p msg' + +# These players will not be able to get punished in any way +# this also works if the player is offline +# Use Vault to make exempt permissions also work for offline players +ExemptPlayers: +- 'Leoko' +- 'md5' +- 'dutchy1001' +- 'ItzSomebody' + +# The date-format which will be used for the %DATE% variable +DateFormat: "dd.MM.yyyy-HH:mm" + +# This is useful for bungeecord servers or server with permission systems which do not support *-Perms +# So if you enable this you can use ab.all instead of ab.* or ab.ban.all instead of ab.ban.* +# This does not work with negative permissions! e.g. -ab.all would not block all commands for that user. +EnableAllPermissionNodes: false + +# If you use external REST-APIs they will have to respond in JSON +# The given APIs will only be used for NAME -> UUID +# For UUID -> NAME will either use the official MojangAPI or the InternFetcher +# To check if you can use the intern fetcher do /systemPerfs and compare your uuid +# to the one you can see online on http://NamesMC.com +# if they are similar we recommend using the InternFetcher +UUID-Fetcher: + # If dynamic it set to true it will override the 'enabled' and 'intern' settings + # and automatically detect the best possible uuid fetcher settings for your server. + # Our recommendation: don't set dynamic to false if you don't have any problems. + Dynamic: true + Enabled: true + Intern: false + REST-API: + URL: "https://api.mojang.com/users/profiles/minecraft/%NAME%?at=%TIMESTAMP%" + Key: "id" + BackUp-API: + URL: "https://us.mc-api.net/v3/uuid/%NAME%" + Key: "uuid" + +# These are the commands that will be performed on warns +# If you skip a number the command from before will be performed +# You can also use non-AdvancedBan-Commands like 'broadcast' or 'clear %PLAYER% +# Variables: %PLAYER%, %REASON%, %COUNT% +WarnActions: + 3: "kick %PLAYER% &c&oYou have received your 3rd warning!" + 4: "tempban %PLAYER% 30m &c&oYou have received your 4th warning!" + 5: "tempban %PLAYER% 5h &c&oYou have received your 5th warning!" + 6: "tempban %PLAYER% 7d &c&oYou have received your 6th warning!" + 7: "tempban %PLAYER% 1mo &c&oYou have received your %COUNT%th warning!" + 10: "ban %PLAYER% &c&oYou have received your 10th warning!" + +# Here you can create permission-nodes for max-punishment-duration. +# The permission "ab.tempban.dur.1" would allow the player to ban max. for 600sec = 10min +# The permission "ab.tempwarn.dur.2" would allow the player to warn max. for 3600sec = 1h +# You can only create up to 10 perms. The perms can be overridden with "ab.COMMAND.dur.max" +TempPerms: + 1: 600 + 2: 3600 + 3: 43200 + +# With this active will show more information in the console, such as errors, if +# the plugin works correctly is not recommended to activate it since it is +# designed to find bugs. +Debug: false + +# This is the amount of days that we should keep plugin logs in the plugins/AdvancedBan/logs folder. +# By default is set to 10 days. +Log Purge Days: 10 + +# Removes the prefix of the plugin in every message. +Disable Prefix: false + +# Register commands in a more friendly manner +# Off by default, so AdvancedBan can override /ban from other plugins +# This is a Bukkit-specific option. It has no meaning on BungeeCord +Friendly Register Commands: false diff --git a/plugins/AdvancedBan/data/storage.properties b/plugins/AdvancedBan/data/storage.properties new file mode 100644 index 0000000..febd97c --- /dev/null +++ b/plugins/AdvancedBan/data/storage.properties @@ -0,0 +1,5 @@ +#HSQL Database Engine 2.4.0 +#Sat Jun 03 19:39:52 MSK 2023 +version=2.4.0 +modified=no +tx_timestamp=0 diff --git a/plugins/AdvancedBan/data/storage.script b/plugins/AdvancedBan/data/storage.script new file mode 100644 index 0000000..1d9de97 --- /dev/null +++ b/plugins/AdvancedBan/data/storage.script @@ -0,0 +1,50 @@ +SET DATABASE UNIQUE NAME HSQLDB85437E32F0 +SET DATABASE GC 0 +SET DATABASE DEFAULT RESULT MEMORY ROWS 0 +SET DATABASE EVENT LOG LEVEL 0 +SET DATABASE TRANSACTION CONTROL LOCKS +SET DATABASE DEFAULT ISOLATION LEVEL READ COMMITTED +SET DATABASE TRANSACTION ROLLBACK ON CONFLICT TRUE +SET DATABASE TEXT TABLE DEFAULTS '' +SET DATABASE SQL NAMES FALSE +SET DATABASE SQL REFERENCES FALSE +SET DATABASE SQL SIZE TRUE +SET DATABASE SQL TYPES FALSE +SET DATABASE SQL TDC DELETE TRUE +SET DATABASE SQL TDC UPDATE TRUE +SET DATABASE SQL CONCAT NULLS TRUE +SET DATABASE SQL UNIQUE NULLS TRUE +SET DATABASE SQL CONVERT TRUNCATE TRUE +SET DATABASE SQL AVG SCALE 0 +SET DATABASE SQL DOUBLE NAN TRUE +SET FILES WRITE DELAY 500 MILLIS +SET FILES BACKUP INCREMENT TRUE +SET FILES CACHE SIZE 10000 +SET FILES CACHE ROWS 50000 +SET FILES SCALE 32 +SET FILES LOB SCALE 32 +SET FILES DEFRAG 0 +SET FILES NIO TRUE +SET FILES NIO SIZE 256 +SET FILES LOG TRUE +SET FILES LOG SIZE 50 +CREATE USER SA PASSWORD DIGEST 'd41d8cd98f00b204e9800998ecf8427e' +ALTER USER SA SET LOCAL TRUE +CREATE SCHEMA PUBLIC AUTHORIZATION DBA +SET SCHEMA PUBLIC +CREATE MEMORY TABLE PUBLIC.PUNISHMENTS(ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 0) NOT NULL PRIMARY KEY,NAME VARCHAR(16),UUID VARCHAR(35),REASON VARCHAR(100),OPERATOR VARCHAR(16),PUNISHMENTTYPE VARCHAR(16),START BIGINT,END BIGINT,CALCULATION VARCHAR(50)) +ALTER TABLE PUBLIC.PUNISHMENTS ALTER COLUMN ID RESTART WITH 0 +CREATE MEMORY TABLE PUBLIC.PUNISHMENTHISTORY(ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 0) NOT NULL PRIMARY KEY,NAME VARCHAR(16),UUID VARCHAR(35),REASON VARCHAR(100),OPERATOR VARCHAR(16),PUNISHMENTTYPE VARCHAR(16),START BIGINT,END BIGINT,CALCULATION VARCHAR(50)) +ALTER TABLE PUBLIC.PUNISHMENTHISTORY ALTER COLUMN ID RESTART WITH 1 +ALTER SEQUENCE SYSTEM_LOBS.LOB_ID RESTART WITH 1 +SET DATABASE DEFAULT INITIAL SCHEMA PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.SQL_IDENTIFIER TO PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.YES_OR_NO TO PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.TIME_STAMP TO PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CARDINAL_NUMBER TO PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CHARACTER_DATA TO PUBLIC +GRANT DBA TO SA +SET SCHEMA SYSTEM_LOBS +INSERT INTO BLOCKS VALUES(0,2147483647,0) +SET SCHEMA PUBLIC +INSERT INTO PUNISHMENTHISTORY VALUES(0,'_SAN5_SkeLet0n_','_san5_skelet0n_','none','CONSOLE','KICK',1671874711197,-1,'') diff --git a/plugins/AdvancedBan/logs/2023-02-01-3.log.gz b/plugins/AdvancedBan/logs/2023-02-01-3.log.gz new file mode 100644 index 0000000..54f4561 Binary files /dev/null and b/plugins/AdvancedBan/logs/2023-02-01-3.log.gz differ diff --git a/plugins/AdvancedBan/logs/latest.log b/plugins/AdvancedBan/logs/latest.log new file mode 100644 index 0000000..e69de29 diff --git a/plugins/PluginMetrics/config.properties b/plugins/PluginMetrics/config.properties new file mode 100644 index 0000000..7158aed --- /dev/null +++ b/plugins/PluginMetrics/config.properties @@ -0,0 +1,5 @@ +#http://mcstats.org +#Sat Dec 24 12:31:01 MSK 2022 +debug=false +guid=571940a1-b725-4fd1-8394-fc5ccfd07008 +opt-out=false diff --git a/plugins/ViaBackwards-4.5.1.jar b/plugins/ViaBackwards-4.5.1.jar new file mode 100644 index 0000000..f542a6a Binary files /dev/null and b/plugins/ViaBackwards-4.5.1.jar differ diff --git a/plugins/ViaBackwards/config.yml b/plugins/ViaBackwards/config.yml new file mode 100644 index 0000000..f451d9c --- /dev/null +++ b/plugins/ViaBackwards/config.yml @@ -0,0 +1,32 @@ +# If you need help, you can join our Discord - https://viaversion.com/discord +# +# Always shows a mapped mob's original name, and not only when hovering over it with the cursor. +always-show-original-mob-name: true +# +# Writes name and level of custom enchantments into the item's lore. +# Set this to false if you see the entries doubled/if the custom-enchant plugin already writes these into the lore manually. +add-custom-enchants-into-lore: true +# +# Adds the color of a scoreboard team after its prefix for 1.12 clients on 1.13+ servers. +add-teamcolor-to-prefix: true +# +# Converts the 1.13 face look-at packet for 1.12- players. Requires a bit of extra caching. +fix-1_13-face-player: false +# +# Fixes 1.13 clients and lower not seeing color or formatting in inventory titles by converting them to legacy text. +# If you have issues with translatable text being displayed wrongly, disable this. +fix-formatted-inventory-titles: true +# +# Sends inventory acknowledgement packets to act as a replacement for ping packets for sub 1.17 clients. +# This only takes effect for ids in the short range. Useful for anticheat compatibility. +handle-pings-as-inv-acknowledgements: false +# +# 1.19.1 chat type formats. +chat-types-1_19_1: + chat.type.text: <%s> %s + chat.type.announcement: '[%s] %s' + commands.message.display.incoming: '%s whispers to you: %s' + commands.message.display.outgoing: 'You whisper to %s: %s' + chat.type.team.text: '%s <%s> %s' + chat.type.team.sent: -> %s <%s> %s + chat.type.emote: '* %s %s' diff --git a/plugins/ViaRewind-2.0.2.jar b/plugins/ViaRewind-2.0.2.jar new file mode 100644 index 0000000..a3c8351 Binary files /dev/null and b/plugins/ViaRewind-2.0.2.jar differ diff --git a/plugins/ViaRewind/config.yml b/plugins/ViaRewind/config.yml new file mode 100644 index 0000000..52d72b6 --- /dev/null +++ b/plugins/ViaRewind/config.yml @@ -0,0 +1,16 @@ +#Specifies how 1.8.x clients should see the cooldown indicator +#You can choose between TITLE, ACTION_BAR, BOSS_BAR and DISABLED +#ONLY DISABLE IF YOU HAVE 1.9 COOLDOWN DISABLED ON YOUR SERVER +#1.8 PLAYERS MAY ASK WHY PVP IS NOT WORKING OTHERWISE +cooldown-indicator: TITLE +#Replaces Adventure mode with Survival mode for 1.7.x clients +#Enable this option if your server is using the 'CanDestroy' +#or 'CanPlaceOn' flags on items +replace-adventure: false +#Whether 1.9 particles should be replaced by similar ones in +#1.8 and lower +replace-particles: false +#Max amount of pages for written books before a client gets kicked +max-book-pages: 100 +#Max amount of characters in the json (!) string of a book page before a client gets kicked +max-book-page-length: 5000 diff --git a/plugins/ViaVersion-4.5.0.jar b/plugins/ViaVersion-4.5.0.jar new file mode 100644 index 0000000..7c2a8d4 Binary files /dev/null and b/plugins/ViaVersion-4.5.0.jar differ diff --git a/plugins/ViaVersion/config.yml b/plugins/ViaVersion/config.yml new file mode 100644 index 0000000..b04faac --- /dev/null +++ b/plugins/ViaVersion/config.yml @@ -0,0 +1,192 @@ +# Thanks for downloading ViaVersion +# Ensure you look through all these options +# If you need help: +# Discord - https://viaversion.com/discord +# viaversion.com - Discussion tab +# Docs - https://docs.viaversion.com/display/VIAVERSION/Configuration +# +#----------------------------------------------------------# +# GLOBAL OPTIONS # +#----------------------------------------------------------# +# +# Should ViaVersion check for updates? +checkforupdates: true +# Send the supported versions with the Status (Ping) response packet +send-supported-versions: false +# Easier to configure alternative to 'block-protocols'. Uses readable version strings with possible '<' and '>' prefixes. +# An example to block 1.16.4, everything below 1.16, as well as everything above 1.17.1 would be: ["<1.16", "1.16.4", ">1.17.1"] +# You can use both this and the block-protocols option at the same time as well. +block-versions: [] +# Block specific Minecraft protocol version numbers. +# List of all Minecraft protocol versions: http://wiki.vg/Protocol_version_numbers, or use a generator: https://via.krusic22.com +block-protocols: [] +# Change the blocked disconnect message +block-disconnect-msg: You are using an unsupported Minecraft version! +# If you use ProtocolLib, we can't reload without kicking the players. +# (We don't suggest using reload either, use a plugin manager) +# You can customise the message we kick people with if you use ProtocolLib here. +reload-disconnect-msg: Server reload, please rejoin! +# We warn when there's a error converting item and block data over versions, should we suppress these? (Only suggested if spamming) +suppress-conversion-warnings: false +# +#----------------------------------------------------------# +# BUNGEE OPTIONS # +#----------------------------------------------------------# +# +# BungeeCord allows you to have different server versions inside. +# Instead of you entering all the versions of these servers, we can ping them. +# +# What interval would you like us to ping at? (in seconds) +# Use -1 to disable. +bungee-ping-interval: 60 +# If the above is enabled, should we save the info to the config (in the section below) +bungee-ping-save: true +# To get a servers protocol, ViaVersion will do the following: +# Look for the server in the following section, then look for the last ping if bungee-ping is enabled +# otherwise use default. +# +# The format for the following is: +# servername: protocolversion +# You can find protocol ids on http://wiki.vg/Protocol_version_numbers +# It will fallback to the default option if none found. +bungee-servers: + default: 47 + lobby: 761 +# +#----------------------------------------------------------# +# GLOBAL PACKET LIMITER # +#----------------------------------------------------------# +# THIS FEATURE IS DISABLED ON 1.17.1+ PAPER SERVERS, SINCE IT HAS A BETTER PACKET-LIMITER INBUILT +# +# Packets Per Second (PPS) limiter (Use -1 on max-pps and tracking-period to disable) +# Clients by default send around 20-90 packets per second. +# +# What is the maximum per second a client can send (Use %pps to display their pps) +# Use -1 to disable. +max-pps: 800 +max-pps-kick-msg: You are sending too many packets! +# +# We can also kick them if over a period they send over a threshold a certain amount of times. +# +# Period to track (in seconds) +# Use -1 to disable. +tracking-period: 6 +# How many packets per second counts as a warning +tracking-warning-pps: 120 +# How many warnings over the interval can we have +# This can never be higher than "tracking-period" +tracking-max-warnings: 4 +tracking-max-kick-msg: You are sending too many packets, :( +# +#----------------------------------------------------------# +# MULTIPLE VERSIONS OPTIONS # +#----------------------------------------------------------# +# +# Should we enable our hologram patch? +# If they're in the wrong place enable this +hologram-patch: false +# This is the offset, should work as default when enabled. +hologram-y: -0.96 +# Should we disable piston animation for 1.11/1.11.1 clients? +# In some cases when firing lots of pistons it crashes them. +piston-animation-patch: false +# Should we fix nbt for 1.12 and above clients in chat messages (causes invalid item) +chat-nbt-fix: true +# Should we use prefix for team colour on 1.13 and above clients +team-colour-fix: true +# 1.13 introduced new auto complete which can trigger "Kicked for spamming" for servers older than 1.13, the following option will disable it completely. +disable-1_13-auto-complete: false +# The following option will delay the tab complete request in x ticks if greater than 0, if other tab-complete is received, the previous is cancelled +1_13-tab-complete-delay: 0 +# For 1.13 clients the smallest (1 layer) snow doesn't have collision, this will send these as 2 snowlayers for 1.13+ clients to prevent them bugging through them +fix-low-snow-collision: false +# Infested blocks are instantly breakable for 1.13+ clients, resulting in them being unable to break them on sub 1.13 servers. This remaps them to their normal stone variants +fix-infested-block-breaking: true +# In 1.14 the client page limit has been upped to 100 (from 50). Some anti-exploit plugins ban when clients go higher than 50. This option cuts edited books to 50 pages. +truncate-1_14-books: false +# Fixes 1.14+ clients on sub 1.14 servers having a light value of 0 for non full blocks. +fix-non-full-blocklight: true +# Fixes walk animation not shown when health is set to Float.NaN +fix-1_14-health-nan: true +# Should 1.15+ clients respawn instantly / without showing a death screen? +use-1_15-instant-respawn: false +# +# Enable serverside block-connections for 1.13+ clients - all of the options in this section are built around this option +serverside-blockconnections: true +# When activated, only the most important blocks are stored in the blockstorage. (fences, glass panes etc. won't connect to solid blocks) +reduce-blockstorage-memory: false +# When activated with serverside-blockconnections, flower parts with blocks above will be sent as stems +# Useful for lobbyservers where users can't build and those stems are used decoratively +flowerstem-when-block-above: false +# Vines that are not connected to blocks will be mapped to air, else 1.13+ would still be able to climb up on them. +vine-climb-fix: false +# +# Ignores incoming plugin channel messages of 1.16+ clients with channel names longer than 32 characters. +# CraftBukkit had this limit hardcoded until 1.16, so we have to assume any server/proxy might have this arbitrary check present. +ignore-long-1_16-channel-names: true +# +# Force 1.17+ client to accept the server resource pack; they will automatically disconnect if they decline. +forced-use-1_17-resource-pack: false +# The message to be displayed at the prompt when the 1.17+ client receives the server resource pack. +resource-pack-1_17-prompt: '' +# +# Caches light until chunks are unloaded to allow subsequent chunk update packets as opposed to instantly uncaching when the first chunk data is sent. +# Only disable this if you know what you are doing. +cache-1_17-light: true +# +# 1.19 chat type formats used for 1.19.1+ clients. +chat-types-1_19: + chat.type.text: <%s> %s + chat.type.announcement: '[%s] %s' + commands.message.display.incoming: '%s whispers to you: %s' + chat.type.team.text: '%s <%s> %s' + chat.type.emote: '* %s %s' +# +#----------------------------------------------------------# +# 1.9+ CLIENTS ON 1.8 SERVERS OPTIONS # +#----------------------------------------------------------# +# +# No collide options, these allow you to configure how collision works. +# Do you want us to prevent collision? +prevent-collision: true +# If the above is true, should we automatically team players until you do? +auto-team: true +# When enabled if certain metadata can't be read we won't tell you about it +suppress-metadata-errors: false +# When enabled 1.9+ will be able to block by using shields +shield-blocking: true +# If this setting is active, the main hand is used instead of the off hand to trigger the blocking of the player. +# With the main hand the blocking starts way faster. +# (Requires "show-shield-when-sword-in-hand" to be disabled) +no-delay-shield-blocking: false +# If this setting is active, the shield will appear immediately for 1.9+ when you hold a sword in your main hand. +# The shield disappears when you switch to another item. +# (Requires "shield-blocking" to be enabled) +show-shield-when-sword-in-hand: false +# Enable player tick simulation, this fixes eating, drinking, nether portals. +simulate-pt: true +# Should we patch boss bars so they work? (Default: true, disable if you're having issues) +bossbar-patch: true +# If your boss bar flickers on 1.9+, set this to 'true'. It will keep all boss bars on 100% (not recommended) +bossbar-anti-flicker: false +# This will show the new effect indicator in the top-right corner for 1.9+ players. +use-new-effect-indicator: true +# Show the new death messages for 1.9+ on the death screen +use-new-deathmessages: true +# Should we replace extended pistons to fix 1.10.1 (Only on chunk load) +replace-pistons: false +# What id should we replace with, default is air. (careful of players getting stuck standing on them) +replacement-piston-id: 0 +# Fix 1.9+ clients not rendering the far away chunks and improve chunk rendering when moving fast (Increases network usage and decreases client fps slightly) +chunk-border-fix: false +# Force the string -> json transform +force-json-transform: false +# Minimize the cooldown animation in 1.8 servers +minimize-cooldown: true +# Allows 1.9+ left-handedness (main hand) on 1.8 servers +left-handed-handling: true +# Get the world names which should be returned for each vanilla dimension +map-1_16-world-names: + overworld: minecraft:overworld + nether: minecraft:the_nether + end: minecraft:the_end diff --git a/plugins/bStats/config.yml b/plugins/bStats/config.yml new file mode 100644 index 0000000..b5b7ed2 --- /dev/null +++ b/plugins/bStats/config.yml @@ -0,0 +1,9 @@ +#bStats collects some data for plugin authors like how many servers are using their plugins. +#To honor their work, you should not disable it. +#This has nearly no effect on the server performance! +#Check out https://bStats.org/ to learn more :) +enabled: true +serverUuid: "11094393-37a8-4584-a5da-074f17d4963c" +logFailedRequests: false +logSentData: false +logResponseStatusText: false diff --git a/plugins/bStats/temp.txt b/plugins/bStats/temp.txt new file mode 100644 index 0000000..91ff239 --- /dev/null +++ b/plugins/bStats/temp.txt @@ -0,0 +1 @@ +me.leoko.advancedban.shaded.org.bstats.bungeecord.Metrics diff --git a/st.sh b/st.sh new file mode 100755 index 0000000..f721249 --- /dev/null +++ b/st.sh @@ -0,0 +1 @@ +java -Xms512M -Xmx512M -jar BungeeCord.jar