From 5bca778714ff2c2eb59c4ac19ec1d401f79db962 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 17:45:09 +0900 Subject: [PATCH 01/17] feat: add antiRedstoneClock config --- .../common-configs/plugin-configs.yaml | 84 +++++++++++++++++++ .../templates/debug-lobby/lobby-server.yaml | 5 ++ .../templates/debug-s1/seichiassist.yaml | 5 ++ 3 files changed, 94 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml index beb4eaaa0..ff9ad3b04 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml @@ -1405,3 +1405,87 @@ data: LunaChat-dictionary.yml: | seichi: 整地 seiti: 整地 + + antiRedstoneClock.yml: | + #En: Don't touch this value + #Fr: Ne pas modifier cette valeur + version: 0.9 + #En:Enable metrics (true/false) + #Fr: Activer metrics (true/false) + metrics: true + #En:Maximal number of redstone blinks authorized during the "Delay" period (digit > 1) + #Fr:Nombre maximal de clignotement de redstone autorise pendant la periode "Delay" (entier > 1) + MaxPulses: 150 + #En: Time (in seconds) before the reset of the "MaxImpulsion" variable (digit > 1) + #Fr:Temp (en secondes) avant de reset la premiere variable (entier > 1) + Delay: 300 + #En:You need it prevent an admin? (true/false) + #Fr:Faut-il prevenir un admin? (true/false) + NotifyAdmins: true + #En:Is it necessary to drop items (Redstone / repeater) when a loop is destroyed? (true/false) + #Fr:Faut-il dropper les items (Redstone/repeater) quand une boucle est détruite? (true/false) + DropItems: true + + CreateSignWhenClockIsBreak: true + #En:Write the text you want on the sign + #Fr:Ecrire le texte a mettre sur les panneaux + Sign: + Line1: 'RedstoneClocks' + Line2: 'Are' + Line3: '&4prohibited' + Line4: '' + + #En:The list of worlds on which the plugin is disabled separate by "/", put a fake name if none + #Fr: La list des mondes sur lequel le plugin est desactive separe par des "/", mettre un faut non si aucun + IgnoreWorlds: redstoneWorld/survival + + #En:The list of Region on which the plugin is disabled separate by "/", put a fake name if none + #Fr: La list des Regions sur lequel le plugin est desactive separe par des "/", mettre un faut non si aucun + IgnoreRegions: redstone/admins + + #En: Enable or not plotSquaredSupport. (true/false) + #Fr: Active ou pas me support de plotSquared. (true/false) + plotSquaredSupport: false # default: true + worldGuardSupport: true + + #En: Enable or disable clock detection for differents redstone elements. (true/false) + #Fr: Active ou pas la detection de certaines boucles de redstone. (true/false) + checkedClock: + comparator: true + observer: true + piston: false # default: true + redstoneAndRepeater: false # default: true + + AutomaticallyBreakDetectedClock: true + SummonLigthningAtRedstoneLocation: true + + #En: Customize the teleport command (variable : $x, $y, $z, $world, $player) + #Fr: Customise la commande de teleportation (variable : $x, $y, $z, $world, $player) + teleportCMD: 'tp $x $y $z $world' + + #En: Put the plugin in "standby" if the TPS of the server are between min and max TPS value + #Fr: "Désactive" le plugin si les tps du serveurs sont entre les TPS du serveur sont entre la valeur min et max + checkTPS: + minimumTPS: -1 + maximumTPS: -1 + intervalInSecond: 15 + + #En: Disable the check of redstoneclock above an Y value + #Fr: Desactive la vérification des boucles de redstone au dessus d'une valeur Y + disableRedstoneClockCheckAbove: 255 + + Msg: + default: + prefix: '&bAntiRedstoneClock &9&l> &r&b ' + error: '&4AntiRedstoneClock &l> &r&c ' + no_permission: '&4Error &9&l> &r&bYou don''t have permission to do that!' + command_use: '&4AntiRedstoneClock &l> &r&cCommand usage: &6/arc $command' + message: + MsgToAdmin: 'Redstone clock disable in x:$X y:$Y Z:$Z. In the world $World' + unknownCmd: 'Unknown command. Type "/help" for help.' + reloadSuccess: 'Reload Success! Redstone listener and third party plugin are not affected!!!' + newValueInConfig: 'The new value of $setting is $value' + RedStoneClockListHeader: 'RedstoneClockList: $page' + RedStoneClockListFooter: '' + Exception: + duplicate_object: 'This list already contains this redstone' diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml index e89a2ad59..ca3b5ed60 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml @@ -223,6 +223,11 @@ spec: mountPath: /plugins/PrometheusExporter/config.yml subPath: PrometheusExporter-config.yml + # antiRedstoneClock プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/antiRedstoneClock/config.yml + subPath: antiRedstoneClock.yml + # JMX exporter 周りのファイルが入ったボリューム達のマウント設定 - name: jmx-exporter-download-volume mountPath: /jmx-exporter/jmx-exporter-javaagent.jar diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 34c5f2e94..6f0fd8367 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -349,6 +349,11 @@ spec: mountPath: /plugins/PrometheusExporter/config.yml subPath: PrometheusExporter-config.yml + # antiRedstoneClock プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/antiRedstoneClock/config.yml + subPath: antiRedstoneClock.yml + # SeichiAssist プラグインの設定ファイル - name: seichiassist-config mountPath: /plugins/SeichiAssist/config.yml From 158621ba52e96edbf4c92c29326ca79ba989ad10 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 18:13:45 +0900 Subject: [PATCH 02/17] fix: change data name config.yml -> OriginSpawn-config.yml --- .../templates/debug-s1/plugin-config.yaml | 2 +- .../templates/debug-s1/seichiassist.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml index 6b2605e13..6f5a93e14 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml @@ -3,7 +3,7 @@ kind: ConfigMap metadata: name: s1-config data: - config.yml: | + OriginSpawn-config.yml: | world-name: world_2 loc-x: 41 loc-y: 69 diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 6f0fd8367..62390f22a 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -380,7 +380,7 @@ spec: # OriginSpawn プラグインの設定ファイル - name: s1-config mountPath: /plugins/OriginSpawn/config.yml - subPath: config.yml + subPath: OriginSpawn-config.yml - name: mod-downloader-volume mountPath: /plugins From 07256e804aa8fa44a6627be201dc8a56f37b2595 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 18:15:56 +0900 Subject: [PATCH 03/17] feat: add AreaShop config --- .../templates/debug-s1/plugin-config.yaml | 434 ++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 8 + 2 files changed, 442 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml index 6f5a93e14..a729ad814 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml @@ -11,3 +11,437 @@ data: loc-yaw: 0.0 loc-pitch: 0.0 always-force-players-spawn: true + + AreaShop-config.yml: | + # ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ + # ║ config.yml file of the AreaShop plugin created by NLThijs48, Github can be found at https://github.com/NLthijs48/AreaShop. ║ + # ║ This file contains options to change the working of the plugin, the profiles defined here can be used in default.yml. ║ + # ║ More information and tutorials can be found on the wiki: https://github.com/NLthijs48/AreaShop/wiki ║ + # ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ GENERAL: Options that influence the global state of the plugin │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + # Chat prefix used for all messages in the chat, also changes the greeting messages. + chatPrefix: + - '[darkgreen][AreaShop][reset]' + - ' hover: AreaShop region management plugin' + - ' hover: %lang:action|Click to check the available commands|%' + - ' command: /areashop help' + - ' ' + # The language file that should be used, check the 'lang' folder for build-in languages (use the filename without .yml here). + # More information can be found here: https://github.com/NLthijs48/AreaShop/wiki/Language-support. + language: EN + # The tags that need to be written on the first line of a sign to add it to AreaShop. + signTags: + # Add a rental region. + rent: '[asrent]' + # Add a buy region. + buy: '[asbuy]' + # Add a sign to an existing region. + add: '[as]' + + + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ ECONOMY: Options to change the display of prices. │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + # The characters displayed before a price. + moneyCharacter: '$' + # The characters displayed after a price. + moneyCharacterAfter: '' + # The character(s) to use as decimal mark. + decimalMark: '.' + # How many numbers behind the dot should be shown (2 will make numbers like '8.55', '9.01', '5.20'). + fractionalNumbers: 2 + # How many numbers behind the dot should be shown when using a metric symbol suffix. + fractionalNumbersShort: 3 + # Set this to true if you want to hide '.0' for a number like '15.0' ('4.50' will still stay '4.50'). + hideEmptyFractionalPart: true + # Use a suffix if the price is above a certain number (use 1.00M instead of 1000000.00 etc.) + metricSymbols: + #1000: "k" + 1000000: "M" + 1000000000: "G" + 1000000000000: "T" + 1000000000000000: "P" + 1000000000000000000: "E" + 1000000000000000000000: "Z" + 1000000000000000000000000: "Y" + + + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ RENTING: Options that apply to all rent regions. │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + # Timeformat to use on the signs, default is like '30-06 14:52', US format: 'MM-dd KK:mm a'. + # Search for 'java SimpleDateFormat' for more options and documentation. + timeFormatSign: 'dd-MM HH:mm' + # Timeformat used in the chat, default is like '30 june 2014 14:52', US format: 'MMMMMMMMMMMMMMMMM dd yyyy KK:mm a'. + # Search for 'java SimpleDateFormat' for more options and documentation. + timeFormatChat: 'dd MMMMMMMMMMMMMMMMM yyyy HH:mm' + # Time indicators, used for specifing time periods (for example rent duration). + seconds: [s, sec, secs, second, seconds] + minutes: [m, min, mins, minute, minutes] + hours: [h, hour, hours] + days: [d, day, days] + weeks: [w, week, weeks] + months: [M, month, months] + years: [y, year, years] + + + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ PERMISSION GROUPS: Assigned by giving players certain permissions. │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + # Configure the max total regions, max rent regions and max buy regions with different groups (-1 is unlimited). + # Assign a group to players by giving them the permission 'areashop.limits.'. + # Every player already has the group 'default', OPs bypass the limits because of the 'areashop.limitbypass' permission. + # All the groups applied to the player will be checked and only if they all allow an extra region it will be allowed. + # More information like limits for regions of a certain group or in a certain word can be found here: + # https://github.com/NLthijs48/AreaShop/wiki/Limitgroups-information-and-examples. + limitGroups: + default: + total: 1 + rents: 1 + buys: 1 + + + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ ADVANCED AND DEBUG: Specific options to tweak the plugin precisely and check if it functions correctly. │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + # Blacklist of region names that cannot be added to AreaShop for renting or buying. Regular expressions can be used, search + # for 'java regex pattern' to find documentation about how to use it. + # Example: Blocking all regions that have a name like 'house_1', 'house_2', etc. would be done with 'house_\d+'. + # The '\d' represents the numerical digits 0-9, the + symbol represents 1 or more times repeated. + # This means it would also block 'house_123' and 'house_000456'. It will not block 'ahouse_1' or 'house_'. + blacklist: + - '__global__' + # Minimum length of the numbers that are suffixed for region names generated by the '/as stack' command. + # When having this at 3 it will generate names like this: 'region-001', 'region-014', 'region-4567'. + stackRegionNumberLength: 3 + # Allow/disallow adding players that did not visit the server yet as friend of a region. + addFriendNotExistingPlayers: false + # Enable sending stats to http://mcstats.org/ (Metrics plugin). + # This information will give me an indication about how much the plugin is used and encourages me to continue development. + sendStats: true + # If enabled it will check for updates when loading the plugin, it will never download files, it will only notify about it. + checkForUpdates: true + # Use colors when sending messages to console and log files. + useColorsInConsole: false + # Use tellraw style messages, which can be interacted with by players + useFancyMessages: true + # Update all region flags and signs after starting the plugin. + # This ensures that changes to the config are directly visible after restarting the server. + updateRegionsOnStartup: true + # Enables / disables debug messages in the console, could be useful to figure out where errors come from. + debug: false + # Version of the config, do not change! + version: 2.6.0 + # Maximum number of blocks to save to or restore from a .schemetic file. + maximumBlocks: 1000000 + # Maximum number of locations the teleport function should check to find a safe spot. + maximumTries: 50000 + + + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ VARIABLES: Variables that can be used in messages and settings where a region is available. │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + # If a tag has no value (for example %player% when the region is not rented/bought) then the tag will not get replaced. + # %region% The region name (with correct capitalization). + # %player% The name of the player that rents/buys the region (with correct capitalization). + # %uuid% The UUID of the player that rents/buys the region. + # %friends% The names of friends added to this region separated by ', '. + # %friendsuuid% The UUID's of friends added to this region separated by ', '. + # %landlord% The name of the landlord. + # %landlorduuid% The UUID of the landlord. + # %price% The price of the region formatted with the configured characters before and after the number. + # %rawprice% The price without formatting, like '10.0' or '7.77'. + # %duration% The duration of a rent region, for example '1 d', '4 minutes' or '2 years'. + # %world% The name of the world that the region is in. + # %type% The type of the region, 'rent' or 'buy'. + # %until% The end time of a rent formatted as configured with 'timeFormatChat'. + # %untilshort% The end time of a rent formatted as configured with 'timeFormatSign'. + # %width% The width of the region (number of blocks on the x-axis). + # %depth% The depth of the region (number of blocks on the z-axis). + # %volume% The number of blocks in a region (accounting for polygon shaped regions). + # %height% The height of the region (number of blocks on the y-axis). + # %timeleft% The time left on the rent (uses the unit of time that fits best, minutes used from 121 seconds till 120 minutes). + # %clicker% The name of the player that clicked the sign (only to be used in the signProfiles section). + # %resellprice% The price of a region when it is in resell mode. + # %rawresellprice% The resellprice without formatting. + # %moneyback% The amount of money the player will get back when unrenting/selling the region (formatted with currency layout). + # %rawmoneyback% The moneyback without formatting. + # %moneybackpercent% The percentage of the price the player will get back when unrenting the region. + # %timesExtended% The number of times the region has been extended (zero when first rented) + # %maxextends% The maximum number of extends a player can do on the region. + # %extendsleft% The number of extends that are left (maxextends - timesextended). + # %maxrenttime% The maximum time you can rent a region in advance (human readable). + # %inactivetime% The maximum time a player may be inactive before unrent/sell (human readable). + # %year% The current year. + # %month% The current month in the year. + # %day% The current day in the month. + # %hour% The current hour in the day (0-23). + # %minute% The current minute of the hour. + # %second% The current second of the minute. + # %millisecond% The current millisecond of the second. + # %epoch% The number of milliseconds since January 1, 1970 (Unix Epoch). + # %tpx% The exact x coordinate of the location that the teleport is set to + # %tpy% The exact y coordinate of the location that the teleport is set to + # %tpz% The exact z coordinate of the location that the teleport is set to + # %tpblockx% The rounded x coordinate of the location that the teleport is set to + # %tpblocky% The rounded y coordinate of the location that the teleport is set to + # %tpblockz% The rounded z coordinate of the location that the teleport is set to + # %tppitch% The exact pitch of the teleport location + # %tppitchround% The rounded pitch of the teleport location + # %tpyaw% The exact yaw of the teleport location + # %tpyawround% The rounded yaw of the teleport location + # %tpworld% The world name of the teleport location + # %lang:|Optional arguments|% Insert a message from EN.yml, for example: '%lang:timeleft-ended%' or '%lang:timeleft-years|15|%' + + AreaShop-default.yml: | + # ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ + # ║ default.yml file of the AreaShop plugin created by NLThijs48, Github can be found at https://github.com/NLthijs48/AreaShop.║ + # ║ All settings below are default settings and can be overridden by group settings or individual region settings. ║ + # ║ More information and tutorials can be found on the wiki: https://github.com/NLthijs48/AreaShop/wiki ║ + # ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ GENERAL: Settings that apply to all regions. │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + general: + # The y location within the region to start searching for safe teleport locations (x and z are in the middle of the region). + # Possible values: 'bottom', 'middle', 'top' or a number indicating an exact y coordinate. + teleportLocationY: bottom + # If true the teleportation algorithm only allows teleportation to inside the region, otherwise it will expand + # a cube from the starting point to check for safe spots (then it could end outside of the region). + teleportIntoRegion: true + # Same as above, but then for when you teleport to the sign of a region instead of the region itself. + teleportToSignIntoRegion: false + # Allow teleporting to the region from another world with `/as tp` + teleportCrossWorld: true + # When teleporting to a sign, the number of blocks the player should get teleported away from the sign + teleportSignDistance: 1 + # Should '/as find' find this region while the player is in another world? (prevents cross-world teleport if turned off) + findCrossWorld: true + # Set where the '/as find' command should teleport the player to, set to true for the first sign of the region and set to + # false to teleport to the location set by '/as settp' or the default location (if not set). + findTeleportToSign: true + # Restricts buying and renting of regions to the world of the region. + restrictedToWorld: false + # Restricts buying and renting of regions to the region itself (player needs to be inside the region). + restrictedToRegion: false + # The UUID of the landlord, this player will receive all money from rents/buys (but not reselling with '/as resell'). + landlord: '' + # Name of the landlord, if the landlord UUID setting is not provided then the name will be used instead. + landlordName: '' + # Disable to prevent counting this region towards limits set by 'limitGroups' in config.yml. + countForLimits: true + + ##### Set the layout and functions of the signs. + # The following sections can be added for performing certain commands when the sign is clicked: + # rightClickPlayer, rightClickConsole, shiftRightClickPlayer, shiftRightClickConsole, + # leftClickPlayer, leftClickConsole, shiftLeftClickPlayer, shiftLeftClickConsole. + # Sections with 'Player' at the end will be run by the player that clicks the sign and 'Console' ones from the console. + signProfile: + forrent: + line1: '&2&l[For Rent]' + line2: '%region%' + line3: '%duration%' + line4: '%price%' + rightClickPlayer: + - 'areashop rent %region%' + rightClickConsole: + # - 'areashop message %clicker% %lang:confirm-rent|%region%|%' # Alternative to first ask for confirmation (remove rightClickPlayer section) + leftClickPlayer: + - 'areashop info region %region%' + rented: + line1: '&4&l[Rented]' + line2: '%region%' + line3: '%player%' + line4: '%untilshort%' + rightClickPlayer: + - 'areashop rent %region%' + rightClickConsole: + # - 'areashop message %clicker% %lang:confirm-extend|%region%|%' # Alternative to first ask for confirmation (remove rightClickPlayer section) + leftClickPlayer: + - 'areashop info region %region%' + shiftRightClickConsole: + - 'areashop message %clicker% %lang:confirm-unrent|%region%|%' + forsale: + line1: '&2&l[For Sale]' + line2: '%region%' + line3: '%price%' + line4: + rightClickPlayer: + - 'areashop buy %region%' + rightClickConsole: + # - 'areashop message %clicker% %lang:confirm-buy|%region%|%' # Alternative to first ask for confirmation (remove rightClickPlayer section) + leftClickPlayer: + - 'areashop info region %region%' + resell: + line1: '&9&l[Resale]' + line2: '%region%' + line3: '%resellprice%' + line4: '&8%player%' + rightClickPlayer: + - 'areashop buy %region%' + rightClickConsole: + # - 'areashop message %clicker% %lang:confirm-buy|%region%|%' # Alternative to first ask for confirmation (remove rightClickPlayer section) + leftClickPlayer: + - 'areashop info region %region%' + shiftRightClickPlayer: + - 'areashop stopresell %region%' + sold: + line1: '&4&l[Sold]' + line2: '%region%' + line3: '%player%' + line4: + rightClickPlayer: + - 'areashop buy %region%' + leftClickPlayer: + - 'areashop info region %region%' + shiftRightClickConsole: + - 'areashop message %clicker% %lang:confirm-sell|%region%|%' + + ##### Set WorldGuard regions flags depending on the region state. + # All normal region flags as present in WorldGuard can be used, in addition to 'members', 'owners', 'priority' and 'parent'. + # The members and owners flag normally take a list of UUID's separated by a comma, adding by name is possible with 'n:'. + # You can add groups by using 'g:', so an example woul be: '%uuid%, %friendsuuid%, g:vip, n:coolGuy'. + # For allow/deny flags like 'entry' and 'exit' you can set the group setting by using 'g:', is one of the following: + # members, non_members, owners, non_owners, all. Example, only members can enter the region: + # entry: 'deny g:non_members' + # '' will remove the flag from the region. + flagProfile: + ALL: # Flags that should always be applied + priority: 10 + owners: '' + members: '' + interact: 'deny g:non_members' # Only allow region members/owners to use things in the region (chests, furnace, animals, etc.) + use: 'deny g:non_members' + build: 'deny g:non_members' + block-break: 'deny g:non_members' + block-place: 'deny g:non_members' + forrent: + greeting: '%lang:prefix%%lang:greeting-forrent%' + rented: + members: '%uuid%, %friendsuuid%' + greeting: '%lang:prefix%%lang:greeting-rented%' + forsale: + greeting: '%lang:prefix%%lang:greeting-forsale%' + sold: + members: '%uuid%, %friendsuuid%' + greeting: '%lang:prefix%%lang:greeting-bought%' + resell: + members: '%uuid%, %friendsuuid%' + greeting: '%lang:prefix%%lang:greeting-resale%' + + ##### Save and restore schematics to clean up regions. + # After 'save:' or 'restore:' you enter the name of the file to restore from/to (.schematic is added automatically). + # Set to true to enable saving/restoring for regions as specified in the profile below, which is specified in the config. + enableRestore: true + schematicProfile: + created: + save: '%type%-%region%' + restore: '' + deleted: + save: '' + restore: '%type%-%region%' + rented: + save: '%type%-%region%' + restore: '' + unrented: + save: '' + restore: '%type%-%region%' + bought: + save: '%type%-%region%' + restore: '' + sold: + save: '' + restore: '%type%-%region%' + resell: + save: '' + restore: '' + + ##### Run commands when an event happens. + # Commands at a 'before' section will execute before the region details are changed in the AreaShop system + # and before any other actions occurred (setting the owner, saving/loading schematics, etc.), + # the 'after' commands will be run when all changes are done. + # You can add a list of commands to 'before' and 'after'. + eventCommandProfile: + created: + before: + after: + # - "say An AreaShop region has been created: %region%" + deleted: + before: + after: + rented: + before: + after: + extended: + before: + after: + unrented: + before: + after: + bought: + before: + after: + sold: + before: + after: + resell: + before: + after: + + + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ RENT: Settings that apply to rent regions. │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + rent: + # The default price of a rental region (variables, mathematical expressions and JavaScript can be used). + price: 1 + # The default duration of a rental region, you can find all time indicators in config.yml below the RENTING header. + duration: '1 day' + # Automatically extend the rental when it is running out (if the player meets the criteria) + autoExtend: false + # The percentage of the rent price you get back if you unrent the region (only the time that is unused is given back). + # (variables, mathematical expressions and JavaScript can be used) + moneyBack: 100 + # Maximum number of extends a player can do (-1 for infinite, 0 for no extending), if they are at this number then + # they are force to let their rent run out (and can rent it again at that point). + maxExtends: 3 + # The Maximum time they can have the region rented in advance (use times like '1 day' etc, or 'unlimited' for no limit). + # This can prevent players from renting their region for a year, and to ensure they periodically have to extend their rent. + maxRentTime: '14 day' + # Automatically unrent the region after the specified time between the last login time of the renter and the current time. + # Use times like '1 day' etc, or 'disabled' for never. + inactiveTimeUntilUnrent: 'disabled' + # If a region of a player has less then this time left when he joins the server he will get a notice about his region. + # Use '' to disable. + warningOnLoginTime: '1 day' + # If renting the region would go above 'maxRentTIme', then extend to the maximum instead of cancelling the rent. + extendToFullWhenAboveMaxRentTime: true + ##### Run commands a certain time before expiration of a region. + # Time identifiers specify how much time before the rent is over the commands should be executed. + # These commands are executed in a 'best effort' manner, if your server is offline when it should trigger then it won't run. + expirationWarningProfile: + '1 day': + - "areashop message %player% %lang:prefix%%lang:rent-expiringSoon|%region%|%timeleft%|%" + '1 hour': + - "areashop message %player% %lang:prefix%%lang:rent-expiringSoon|%region%|%timeleft%|%" + '5 minutes': + - "areashop message %player% %lang:prefix%%lang:rent-expiringSoon|%region%|%timeleft%|%" + + + # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ + # │ BUY: Settings that apply to buy regions. │ + # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ + buy: + # The default price of a buy region (variables, mathematical expressions and JavaScript can be used). + price: 1000 + # The percentage of the price you get back if you sell the region (variables, mathematical expressions and JavaScript can be used) + moneyBack: 100 + # Automatically sell the region after the specified number of minutes between the last login time of the buyer and the current time + # Use times like '1 day' etc, or 'disabled' for never. + inactiveTimeUntilSell: 'disabled' + # Selling is disabled for the region owner (players with areashop.sellown without areashop.sell) + sellDisabled: false + # Reselling is disabled for the region owner (players with areashop.resell without areashop.resellall) + resellDisabled: false diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 62390f22a..2c9072428 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -382,6 +382,14 @@ spec: mountPath: /plugins/OriginSpawn/config.yml subPath: OriginSpawn-config.yml + # AreaShop プラグインの設定ファイル + - name: s1-config + mountPath: /plugins/AreaShop/config.yml + subPath: AreaShop-config.yml + - name: s1-config + mountPath: /plugins/AreaShop/default.yml + subPath: AreaShop-default.yml + - name: mod-downloader-volume mountPath: /plugins From 2c0c94e937e03f0268574df7577ed533b30671d2 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 18:19:23 +0900 Subject: [PATCH 04/17] feat: add AuctionHouse config --- .../templates/debug-s1/plugin-config.yaml | 106 ++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 5 + 2 files changed, 111 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml index a729ad814..62d8b57d6 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml @@ -445,3 +445,109 @@ data: sellDisabled: false # Reselling is disabled for the region owner (players with areashop.resell without areashop.resellall) resellDisabled: false + + AuctionHouse-config.yml: | + # + # AuctionHouse + locale: en_us + decimal_format: '#,##0.00' + strict: false + chatHook: true + updateTicks: 20 + auction: + listingPrice: 0.0 + listingRate: 0.0 + listingCooldown: 0d0h0m0s + listingDuration: 7d0h0m + expiredDuration: 14d0h0m + unclaimedDuration: 90d0h0m + cleanupDuration: 0d24h0m + soldDuration: 365d0h0m + unclaimedCheckDuration: 0d0h5m + unclaimedCheckOnWorldChange: true + preventCreative: true + preventSpectator: true + minSellPrice: 0.0 + maxSellPrice: 100000.0 + salesTax: 0.0 + maxSalesTax: 100000.0 + allowDamagedItems: false + defaultMaxListings: 45 + sortOrder: oldest + announce: false + action_bar: false + discord: false + discord_channel: auctionhouse + multiworld: false + groupWorlds: false + replaceUUIDs: false + replacePlayerNames: false + dropAtFeet: false + showSeconds: true + spawnerInfo: true + announce: + chat: + listings: true + purchases: true + action_bar: + listings: false + purchases: false + blacklist: + '0': + item: BEDROCK + '1': + item: BARRIER + '2': + item: COMMAND + '3': + item: STRUCTURE_BLOCK + example: + name: \u00a7cVorpal Sword + item: DIAMOND_SWORD + lore: + - Special Item + - Does not list in AuctionHouse + enchantments: + - ench: SHARPNESS + level: 10 + - ench: UNBREAKING + level: 3 + - ench: LOOTING + level: 3 + - ench: FIRE_ASPECT + level: 2 + sounds: + click: ui.button.click + fail: entity.villager.no + drop: entity.player.burp + sold: block.note.chime + buttons: + exit: IRON_DOOR + back: IRON_DOOR + previous: PAPER + sort_listings: DOUBLE_PLANT + next: PAPER + info: BOOK + howto: EMERALD + return_all: FLOWER_POT + player_listings: DIAMOND + expired_listings: POISONOUS_POTATO + sold_items: GOLD_INGOT + clear: BARRIER + confirm: STAINED_GLASS_PANE:5 + cancel: STAINED_GLASS_PANE:14 + triggers: + sign: '[AuctionHouse]' + block_name: Auction House + entity_name: Auction House + commands: + exit: msg %player% Exiting AuctionHouse + log: + listed: true + sold: true + cancelled: true + returned: true + dropped: true + purged: true + disabled-worlds: [] + configVersion: 25 diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 2c9072428..d3a0fdeaa 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -390,6 +390,11 @@ spec: mountPath: /plugins/AreaShop/default.yml subPath: AreaShop-default.yml + # AreaShop プラグインの設定ファイル + - name: s1-config + mountPath: /plugins/AuctionHouse/config.yml + subPath: AuctionHouse-config.yml + - name: mod-downloader-volume mountPath: /plugins From cb8c97d86747e74c4f661069fc1be753a740357e Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 18:40:04 +0900 Subject: [PATCH 05/17] feat: add AutoMessage config --- .../common-configs/plugin-configs.yaml | 113 ++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 5 + 2 files changed, 118 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml index ff9ad3b04..f744c0d29 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml @@ -1489,3 +1489,116 @@ data: RedStoneClockListFooter: '' Exception: duplicate_object: 'This list already contains this redstone' + + AutoMessage-config.yml: | + # AutoMessage v1.7 Config + # ColorCodeList http://ess.khhq.net/mc/ + + ## === 自動アップデートの設定 === ## + # [true で有効 | false で無効] + # 初期: true + # このプラグインが最新バージョンかチェックします。 + # メッセージはOPにしか表示されません。 + UpdateChecker: false + AutoDownload: false + + ## === オートメッセージの設定 === ## + # 設定したメッセージがランダムで表示されます。 + # & でカラーコードを使用できます。 + # %tellraw でtellrawコマンドを実行します。 + # %line で改行することができます。(tellraw コマンドでは使用できません。) + Message: + - '&6[Tips]&f岩盤までぶち抜いた後&eY5&fにハーフブロックを敷く文化があるらしい。' + - '&6[Tips]&f&eALL値&fが&c200&fを超える建築やMOB溜め等はご遠慮ください。' + - '&6[Tips]&f看板の文字には&e&系各種カラーコードが使用可能&fです。' + - '&6[Tips]&f&e/mvspawn&fで今いるワールドのスポーン地点に移動します。' + - '&6[Tips]&f保護のフラグ設定は&e自己責任&fです。&c設定ミスに要注意&f!' + - '&6[Tips]&fルール違反を見かけたら&c反応せずに通報&fしましょう。' + - '&6[Tips]&f嫌なチャットは&e/ch hide <プレイヤー名>&fで非表示にしましょう。' + - '&6[Tips]&f個人間チャットは&e/tell&fコマンドをご利用ください。' + - '&6[Tips]&f&elunachat&fによるチャンネルチャット機能が利用可能です。' + - '&6[Tips]&f混雑時は空いてるサーバーに移動しての整地がオススメ。' + - '&6[Tips]&fチャットはサーバーごとに独立しています。' + - '&6[Tips]&f運営チームのなりすましにご注意ください。' + - '&6[Tips]&fゲーム内で運営チームへチャットしても(大体)反応しません。' + - '&6[Tips]&f運営チームへのお問い合わせは&ewebフォーム&fを使ってネ。(運営チーム個人宛の問い合わせはご遠慮ください)→&ehttps://www.seichi.network/access' + - '&6[Tips]&f地形にハマって出られない時は&e/spawn&fを使おう!' + - '&6[Tips]&fログインせずに投票しても特典は配布されます。' + - '&6[Tips]&fロビーサーバーへの移動は&e/hub&fで!' + - '&6[Tips]&f木の棒が無い!そんな時は&e/stick&fでいつでも召喚できます。' + - '&6[Tips]&f自分の家の建築はメインワールドで!' + - '&6[Tips]&fガチャ券と整地量は整地ワールド以外では増えません。' + - '&6[Tips]&f第2整地・第4整地ワールドは保護が必要ですが整地に集中できます。' + - '&6[Tips]&f無意味な保護の乱立は&c削除&処罰対象&fです。' + - '&6[Tips]&f建築物に対して大きすぎる保護は&c縮小&fされることがあります。' + - '&6[Tips]&f建築途中、または未建築の保護は&c削除&fすることがあります。' + - '&6[Tips]&f整地の心得を守って楽しく整地しましょう。' + - '&6[Tips]&f整地の心得①:下から掘らず、上から掘るべし!' + - '&6[Tips]&f整地の心得②:空中にブロックが残らないようにすべし!' + - '&6[Tips]&f整地の心得③:水やマグマは除去すべし!' + - '&6[Tips]&f整地の心得④:掘りぬいた後は綺麗に整えるべし!' + - '&6[Tips]&f&e整地の心得違反者&fは&c処罰&fされます。詳しくはルールをご確認下さい。' + - '&6[Tips]&f公式Discordサーバーで運営のお手伝いを募集しています。' + - '&6[Tips]&f1000ブロック整地するごとにガチャ券がもらえます。' + - '&6[Tips]&f公式サイトではガチャの景品リストを公開しています。' + - '&6[Tips]&f名前の左に表示されるのは&e整地レベルor二つ名&fです。' + - '&6[Tips]&f整地レベル上げ&ガチャ券稼ぎは&e整地ワールド&fで!' + - '&6[Tips]&f毎日夜8時からはドラゲナイタイム!8時地点でログインしたプレイヤーは採掘速度が上昇し、マナ使用率が減少します。' + - '&6[Tips]&fガチャ券は整地だけでなく&e投票&fすることでももらえます。' + - '&6[Tips]&fガチャ券で&e大当り&fを引く確率は&c1%&fです。' + - '&6[Tips]&fガチャ券で&eギガンティック大当り&fを引く確率は&c0.1%&fです。' + - '&6[Tips]&f整地鯖では&c先に保護を掛けないと建築出来ません&f。' + - '&6[Tips]&f木の棒メニューからコマンド不要で簡単に保護をかけられます。' + - '&6[Tips]&fスキルを使って真下に掘る時はShiftを押しっぱにしよう!' + - '&6[Tips]&f木の棒を右or左クリックすると便利なメニューが出現します。' + - '&6[Tips]&fワールド間移動は木の棒メニューからビーコンボタンで!' + - '&6[Tips]&fスキルの選択は木の棒メニューのスキルブックで!' + - '&6[Tips]&fホームポイント機能は木の棒メニューから使おう!' + - '&6[Tips]&f木の棒メニューから4次元ポケットが使えます。' + - '&6[Tips]&fサーバー間のアイテム移動には4次元ポケットを使おう!' + - '&6[Tips]&f整地Lv25以上でどこでもエンダーチェストが使えます。' + - '&6[Tips]&fMineStack機能は整地Lv1から使えます。' + - '&6[Tips]&f掘った土や石が消えた?それはMineStack機能のせいネ' + - '&6[Tips]&f採掘速度上昇効果は木の棒メニューでONOFF出来ます。' + - '&6[Tips]&f公式Discord→&ehttps://redmine.seichi.click/projects/public/wiki/Official_Discord_Documents' + - '&6[Tips]&f&cルールは必ず読みましょう&f→&ehttps://www.seichi.network/rule' + - '&6[Tips]&f&cはじめての方はチャットで質問する前に公式ホームページをチェックしましょう。読んでもわからなかったことをチャットで質問するようにしてください。&f→&ehttps://www.seichi.network/helloworld' + - '&6[Tips]&f疑問点は公式サイトで解決!→&ehttps://www.seichi.network/gigantic' + - '&6[Tips]&f整地鯖で使えるコマンド→&ehttps://cmd.seichi.click/' + - '&6[Tips]&f1日1回投票して特典をゲット!→&ehttps://goo.gl/cu7ziG' + - '&6[Tips]&fお問い合わせ→&ehttps://www.seichi.network/access' + - '&6[Tips]&fサーバーマップ→&ehttps://www.seichi.network/map' + - '&6[Tips]&f整地鯖ランキング(非公式)→&ehttps://seichi.conarin.com/ranking' + - '&6[Tips]&f接続時間はメイン・整地専用・公共施設サーバーにいると増えます。' + - '&6[Tips]&f公共施設サーバーのチュートリアルをプレイすると景品がもらえます。' + - '&6[Tips]&f別のサーバーに移動するには木の棒メニュー右上のネザースターをクリック。' + - '&6[Tips]&fガチャ景品のギフト券は公共施設サーバーで商品と交換できます。' + - '&6[Tips]&f第1整地ワールドは毎週金曜日朝6時にワールドリセットされます。' + - '&6[Tips]&fメインワールドでは頭を1保護につき20個まで設置可能です。' + - '&6[Tips]&f苗木・食料はメインのスポーン付近で配布しています。' + - '&6[Tips]&f整地鯖に来たばかりの人はココをみよう→&ehttps://www.seichi.network/helloworld' + - '&6[Tips]&fメインワールド紹介ページ→&ehttps://www.seichi.network/post/newmain' + - '&6[Tips]&f各整地ワールドではランダムテレポート機能(/rtp)が使えます。土地探しが楽ちん。' + - '&6[Tips]&fブログにはお役立ち情報が載っているよ→&ehttps://www.seichi.network/blog' + - '&6[Tips]&f放置をする場合は自分の家の中や放置部屋(メインワールドスポーン地点より入場)など安全な場所で!' + - '&6[Tips]&f第1整地ワールドでは心得違反による処罰がない代わりに整地量の計算が0.8倍になります。' + - '&6[Tips]&fアクティブスキルをセットしていても、ONになっていないとスキルは発動しません。Shift+右クリックでON・OFFを切り替えられます。' + - '&6[Tips]&fアルカディアサーバーのメインワールドにあるドット絵をドット絵専用ワールドに移管できます。申請はこちら→&ehttps://docs.google.com/forms/d/e/1FAIpQLSdwIkLPJZ_wbgqvyfmQVWaNcDrcZPQkPRADsq8IJRZKjd_Yxg/viewform' + - '&6[Tips]&e/tpa <プレイヤー名>&fで指定のプレイヤーにテレポートリクエストを送信できます。(承認されると相手の位置にテレポートできます。)' + - '&6[Tips]&e/tpahere <プレイヤー名>&fで指定のプレイヤーにテレポートリクエストを送信できます。(承認されると相手が自分の位置にテレポートします。)' + - '&6[Tips]&e/jp &fで日本語チャットのON/OFFを切り替えます。' + - '&6[Tips]&e/fly add <分数>&fで指定の分数だけ飛行時間を追加できます。また、&e/fly endless&fで自分が終了するまで飛行することが出来ます。' + - '&6[Tips]&e/minestack store-all&fでインベントリ内のアイテムをMineStackに格納できます。' + - '&6[Tips]&e/trade <プレイヤー名>&fで指定のプレイヤーと取引を開始できます。(取引中はチャット機能が使えないので交換内容は事前にしておきましょう。)' + - '&6[Tips]&f静かに整地がしたい?そんなときはエデンやヴァルハラをオススメします。' + - '&6[Tips]&fTownyはヴァルハラサーバーで利用できます。' + - '&6[Tips]&f最新情報は公式ホームページまたは公式Discordサーバーで!' + - '&6[Tips]&cご自身のエリアで災害が発生した際は、ゲーム内チャットの災害情報は鵜呑みにせず &l"すぐにゲームを終了"&cしてテレビやラジオなどのメディアで災害情報を入手しましょう。' + + ## === ログの設定 === ## + # ログの表示設定です。 + Log: true + + ## === タイマーの設定 === ## + # メッセージが表示されるまでの時間の設定です。 + Seconds: 300 diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index d3a0fdeaa..825dbf015 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -354,6 +354,11 @@ spec: mountPath: /plugins/antiRedstoneClock/config.yml subPath: antiRedstoneClock.yml + # AutoMessage プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/AutoMessage/config.yml + subPath: AutoMessage-config.yml + # SeichiAssist プラグインの設定ファイル - name: seichiassist-config mountPath: /plugins/SeichiAssist/config.yml From e525c9f4b0d0df626a6e092415896f7c710088bc Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 19:17:17 +0900 Subject: [PATCH 06/17] feat: add BetterChairs config --- .../common-configs/plugin-configs.yaml | 131 ++++++++++++++++++ .../templates/debug-lobby/lobby-server.yaml | 5 + .../templates/debug-s1/seichiassist.yaml | 5 + 3 files changed, 141 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml index f744c0d29..e051c10d8 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml @@ -1602,3 +1602,134 @@ data: ## === タイマーの設定 === ## # メッセージが表示されるまでの時間の設定です。 Seconds: 300 + + BetterChairs-config.yml: | + # BetterChairs Remastered + # + # Support: https://Sprax.me/Discord + # Updates and Information: + # Statistics: https://bstats.org/plugin/bukkit/BetterChairs%20Remastered/8214 + # Information for developers: https://github.com/SpraxDev/BetterChairs/wiki + + + # You shouldn't make any changes to this + version: 0 + Chairs: + + # Enabling this makes BetterChairs use Arrows instead of ArmorStands. + # ArmorStands are made invisible so the player doesn't see anything of the magic happening when sitting. + # But Spigot can be very unreliable on some versions (e.g. players instantly stopping to sit) + # + # If you are experiencing issues with ArmorStands, enable this option. + SitOnArrows: false + + # Allowed distance a player is allowed to have when trying to sit? (-1 to ignore) + AllowedDistanceToChair: -1 + + # Should a player automatically look forward when starting to sit + AutoRotatePlayer: true + + # Does a player need his hands empty when trying to sit? + NeedEmptyHands: true + + # Does a chair need signs on both sides attached to be detected as an chair + NeedsSignsOnBothSides: false + + # Enable this if you want players to be able to sit on chairs + # while other plugins (like WorldGuard or PlotSquared) are not + # allowing interactions/use with the chair blocks. + IgnoreOtherPluginsPreventingInteract: false + + # This requires players to use /toggleChairs or /BetterChairs toggle + # before they can right-click on chair blocks. + HaveChairsDisabledForPlayerByDefault: false + + # Enable this if you want BetterChairs to remember a player who used /bc after a plugin reload or him rejoining + RememberIfPlayerDisabledChairsAfterRelogin: true + Position: + + # Set to false, if you do not care about a player suffocating while sitting + NeedAirAbove: true + + # Set to false, to force chairs to have a block below them + AllowAirBelow: true + + # Can stairs be chairs? + UseStairs: true + + # Can half slabs be chairs too? + UseSlabs: false + LeavingChair: + + # Should a player be teleported to its original position when leaving a chair + TeleportPlayerToOldLocation: true + + # Should a player keep his head rotation when teleported to its original position + KeepHeadRotation: true + + # This controls whether players can switch seats while already sitting. + # If 'Chairs.LeavingChair.TeleportPlayerToOldLocation' is set, + # the player will be teleported to the *first* location they startet sitting at. + AllowSwitchingSeats: false + Messages: + + # Should the player receive a message when the chair is already occupied + AlreadyOccupied: false + + # Should the player receive a message when a chair is missing signs on both sided + NeedsSignsOnBothSides: false + + # Should the player receive a message when he starts sitting + NowSitting: false + Regeneration: + + # Should player receive regeneration effect when sitting? + Enabled: false + + # Should only players with the permission 'BetterChairs.regeneration' get the effect? + CheckPermission: true + + # What amplifier should be applied? + Amplifier: 1 + Filter: + Worlds: + + # Should we only enable chairs in specific worlds? + Enabled: false + + # Should be the list below be used as blacklist or whitelist? + UseAsBlacklist: false + + # List of all enabled/disabled worlds + Names: + - worldname + - worldname2 + Blocks: + + # Should we only enable specific blocks as chairs? + Enabled: false + + # Setting this to true, won't check if a chair + # is a stair or slab but only look if it is in the list below + # + # This is kinda experimental. + # Enabling overwrites 'UseStairs' and 'UseSlabs' further above + AllowAllTypes: false + + # Should be the list below be used as blacklist or whitelist? + UseAsBlacklist: false + + # List of all enabled/disabled block types + # + # The names from Minecraft do not always work + # Full list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html + Names: + - blockname + - blockname2 + Updater: + + # Should we check for new versions and report to the console? (Recommended) + CheckForUpdates: true + + # Should be notify admins when they join the server? (Permission: BetterChairs.updater) + NotifyOnJoin: true diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml index ca3b5ed60..73f6a26ba 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml @@ -228,6 +228,11 @@ spec: mountPath: /plugins/antiRedstoneClock/config.yml subPath: antiRedstoneClock.yml + # BetterChairs プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/BetterChairs/config.yml + subPath: BetterChairs-config.yml + # JMX exporter 周りのファイルが入ったボリューム達のマウント設定 - name: jmx-exporter-download-volume mountPath: /jmx-exporter/jmx-exporter-javaagent.jar diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 825dbf015..5e9b55a57 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -359,6 +359,11 @@ spec: mountPath: /plugins/AutoMessage/config.yml subPath: AutoMessage-config.yml + # BetterChairs プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/BetterChairs/config.yml + subPath: BetterChairs-config.yml + # SeichiAssist プラグインの設定ファイル - name: seichiassist-config mountPath: /plugins/SeichiAssist/config.yml From bacc1fbb2fc197acb1c1e76ea0c89523f7998b0f Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 19:19:09 +0900 Subject: [PATCH 07/17] feat: add BlocksHub config --- .../templates/debug-s1/plugin-config.yaml | 20 +++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 5 +++++ 2 files changed, 25 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml index 62d8b57d6..d9ea41cd4 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/plugin-config.yaml @@ -551,3 +551,23 @@ data: purged: true disabled-worlds: [] configVersion: 25 + + BlocksHub-config.yml: | + BlocksHub: + version: 2 + disabledBridges: {} + # - CoreProtect + # - Factions + # - GriefPrevention + # - HawkEye + # - LogBlock + # - Prism + # - Residence + # - Residence 4.6 + # - Towny + # - WorldGuard + worlds: + - world + - world_nether + - world_the_end + - world.* diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 5e9b55a57..8a49606b0 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -405,6 +405,11 @@ spec: mountPath: /plugins/AuctionHouse/config.yml subPath: AuctionHouse-config.yml + # BlocksHub プラグインの設定ファイル + - name: s1-config + mountPath: /plugins/BlocksHub/config.yml + subPath: BlocksHub-config.yml + - name: mod-downloader-volume mountPath: /plugins From 3f97c5f132937850cfc0eaea3904e10aaad3b0dd Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 19:52:33 +0900 Subject: [PATCH 08/17] feat: add BungeePortals config --- .../templates/common-configs/plugin-configs.yaml | 7 +++++++ .../templates/debug-lobby/lobby-server.yaml | 3 +++ .../templates/debug-s1/seichiassist.yaml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml index e051c10d8..5d6facafc 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml @@ -1733,3 +1733,10 @@ data: # Should be notify admins when they join the server? (Permission: BetterChairs.updater) NotifyOnJoin: true + + BungeePortals-config.yml: | + # BungeePortals configuration file, visit www.spigotmc.org/resources/bungeeportals.19 for help. + SaveTask: + Enabled: false + Interval: 600 + NoPortalPermissionMessage: '&cYou do not have permission to go to the server {destination}.' diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml index 73f6a26ba..e73b185ab 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml @@ -242,6 +242,9 @@ spec: subPath: jmx-exporter-config.yaml # BungeePortals プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/BungeePortals/config.yml + subPath: BungeePortals-config.yml - name: bungee-portals-config mountPath: /plugins/BungeePortals/portals.yml subPath: portals.yml diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 8a49606b0..b539b9c13 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -364,6 +364,11 @@ spec: mountPath: /plugins/BetterChairs/config.yml subPath: BetterChairs-config.yml + # BungeePortals プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/BungeePortals/config.yml + subPath: BungeePortals-config.yml + # SeichiAssist プラグインの設定ファイル - name: seichiassist-config mountPath: /plugins/SeichiAssist/config.yml From 2b5ccf331b8ad108e34f06206b59794bab3c4142 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 20:21:28 +0900 Subject: [PATCH 09/17] feat: add ClearLag config --- .../common-configs/plugin-configs.yaml | 495 ++++++++++++++++++ .../templates/debug-lobby/lobby-server.yaml | 5 + .../templates/debug-s1/seichiassist.yaml | 5 + 3 files changed, 505 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml index 5d6facafc..12f2b092c 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml @@ -1740,3 +1740,498 @@ data: Enabled: false Interval: 600 NoPortalPermissionMessage: '&cYou do not have permission to go to the server {destination}.' + + ClearLag-config.yml: | + #--------------------------------------------------------------------# + # ClearLag Configuration File # + #--------------------------------------------------------------------# + # Configure to your liking, reload the config by tying: /lagg reload # + # - # + # Here is a helpful tutorial on this configuration setup! (Updated) # + # http://dev.bukkit.org/bukkit-plugins/clearlagg/pages/config-setup/ # + #--------------------------------------------------------------------# + # All possible mob names: https://goo.gl/cch8YK # + #--------------------------------------------------------------------# + config-version: 20 + + # -- 'use-internal-tps' Should clearlag just use the calculated internal TPS? (Improves accuracy) + # -- 'language' Clearlag supports multiple languages (https://github.com/bob7l/Clearlag-Languages) translated by the community + # -- 'use-internal-tps' Should Clearlag use Spigot's /tps? (Updated by minutes, much slower, but more accurate!) + settings: + language: English + auto-update: false # default: true + enable-api: true + use-internal-tps: false # default: true + + #Controls ALL of Clearlag's broadcasting. Disabling this will disable ALL broadcasting on Clearlag + # -- 'enabled' Should clearlag broadcast messages at all? (Example: Auto-removal, warnings, ect) + # -- 'async' Should messages be broadcasted on another thread + # -- 'use-permission-for-broadcasts' Should clearlag use permissions? + # -- 'permission' What is the permission? (By default, it's bukkit's default) + global-broadcasts: + enabled: true + async: false + use-permission-for-broadcasts: false + permission: bukkit.broadcast + + #Monitors your server's main thread for locking/freezing. Helps figure out what's causing lag-spikes + # NOTE: This will outprint mostly just stacktraces. It's up to YOU to interpret the stacktrace + # NOTE: (!Important!) Clearlag will print EVERYTHING to your Spigot/Bukkit server logs! + # NOTE: A large 'Garbage collection time' generally means the spike was caused by the Garbage collector (Memory issue basically..) + # -- 'enabled' Should this be enabled (Prints data to your logs, not ingame chat) + # -- 'min-elapsed-time' How long (IN MILLISECONDS) of a server-tick constitutes a freeze/lock? I don't recommend going under ~80 + # -- 'check-interval' How often (IN MILLISECONDS) should the server be checked? Lower the number, more accurate the timings + # -- 'follow-stack' Should Clearlag keep printing the stacktrace every time it changes (Can be very spammy)? + # Help-> https://dev.bukkit.org/projects/clearlagg/pages/finding-the-cause-of-lag-spikes + lag-spike-helper: + enabled: false + min-elapsed-time: 500 + check-interval: 100 + follow-stack: true + + #Limits the amount of item transfers for all the hoppers in a single chunk + # -- 'transfer-limit' How many transfers per check interval until the hopper should be disabled + # -- 'check-interval' In seconds, on what interval should the transfer limit be reset + hopper-limiter: + enabled: false + transfer-limit: 5 + check-interval: 1 + + #Meters your ram usage. If it goes above 'limit', run 'commands:' + # NOTE: It's perfectly normal for your server to be using a lot of memory. The JVM's garbage collector will automatically free memory. + # NOTE: Only use this if you have very little memory that can't support the server + # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount + # -- 'interval' is how often clearlag will check your ram usage + # -- 'commands' lists the commands that will be ran upon hitting your ram-limit + ram-meter: + enabled: false + interval: 20 + ram-limit: 5000 + commands: + - 'lagg killmobs' + - 'lagg clear' + - 'lagg gc' + + #Configure what the '/lagg halt' command does + # -- 'remove-entities' remove entities such as items, primed-tnt, and mobs + # -- 'disable-natural-entity-spawning' disables the server's natural world spawning + # -- 'halted' this section defines which actions should be halted during '/lagg halt' + halt-command: + remove-entities: true + disable-natural-entity-spawning: true + halted: + fire: true + fire-burn: true + explosion: true + decay: true + block-fade: true + block-form: true + block-spread: true + block-natural-change: true + + #This limits how fast a user can move by walking or flying in a single tick (20 ticks a second) + #I HIGHLY recommend you use this on servers with increased player-speed/fly to prevent chunk overload + #You may also use Spigot's internal speed limiters to achieve the same goal if present on your version (better performance) + # -- 'move-max-speed' Max speed on foot + # -- 'fly-max-speed' Max speed while flying + player-speed-limiter: + enabled: false + move-max-speed: 0.7 + fly-max-speed: 0.8 + + #Set the age of specific items when they're first spawned so they naturally despawn faster, or slower then others + #Recommended for servers with a lot of item-entities consisting mostly of useless items (Such as stone) + #Material list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html + # -- 'items' Lists the material names of the entities with their spawn-age (In seconds) + item-spawn-age-setter: + enabled: false + items: + stone: 240 + grass: 240 + cobblestone: 240 + log: 240 + stone_axe: 240 + stone_pickaxe: 240 + stone_sword: 240 + wooden_axe: 240 + wooden_pickaxe: 240 + wooden_sword: 240 + rotten_flesh: 240 + gravel: 240 + dirt: 240 + leather: 200 + sand: 240 + bone: 240 + beef: 240 + chicken: 160 + rabbit: 240 + salmon: 240 + cactus: 210 + wool: 180 + arrow: 160 + PORKCHOP: 240 + potato: 240 + RED_TULIP: 240 + + #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS) + #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server + # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius' + # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs' + mob-breeding-limiter: + enabled: false + max-mobs: 6 + check-radius: 15 + + #Should clearlag purge logs under /logs when the server starts? + # -- 'days-old' means how many days old can the log be to be deleted + log-purger: + enabled: false + days-old: 3 + + #What type of entities SHOULD NOT be removed while doing /lagg area? + area-filter: + - Itemframe + - Minecart + - Wolf + - Villager + - Horse + - ARMOR_STAND + + #Should clearlag reset the config, or attempt to update your config on updates + # -- 'force-update' is whether or not clearlag will reset your config with a newer version + # -- settings this to false will make clearlag update your config rather then resetting + config-updater: + force-update: false + + #This limits the mob egg spawners so players cannot "overload" the server with them + # -- 'check-radius' is the radius clearlag will check for nearby entities + # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked + mobegg-limiter: + enabled: false + check-radius: 8 + max-mobs: 5 + + #Disable new chunk generation, or just put a cap on how many can load at once. + #May cause many bugs with Spigot 1.8+, not recommended! + # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks + # -- !UNSTABLE ON SPIGOT BUILDS! + chunk-limiter: + enabled: false + limit: 6000 + create-new-chunks: true + + #This modifies the view range of entities + # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save + # -- If it's too high, expect bugs / lots of lag + mob-range: + enabled: false + zombie: 30 + skeleton: 30 + creeper: 20 + + #How long should items/Mobs be left on the ground + # -- live-time's go by ticks (20 ticks a second) + live-time: + enabled: false + interval: 10 + mobtimer: true + itemtimer: true + arrowtimer: true + arrowkilltime: 15 + moblivetime: 600 + itemlivetime: 240 + + #This option disallows the placement of too many tnt-minecarts + # -- 'radius' is the radius clearlag will check for TNT-Minecarts + tnt-minecart: + enabled: false + max: 2 + radius: 6 + + #This option reduces global dispenser fire rate + # -- 'time' is in milliseconds + dispenser-reducer: + enabled: false + time: 100 + + #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag + # -- 'check-radius' is the radius clearlag will check for primed TNT + # -- 'max-primed' is the max primed TNT within the radius allowed before clearlag begins to remove + tnt-reducer: + enabled: false + check-radius: 5 + max-primed: 3 + + #This option reduces fire spread rate + # -- 'time' is in milliseconds + firespread-reducer: + enabled: false + time: 2000 + + #How many entities should one chunk be allowed to hold? + # -- 'entities' lists all the entities that will be counted + # and possibly removed. + chunk-entity-limiter: + enabled: true # default: false + limit: 50 # default: 10 + entities: + - Squid liveTime=100 + - Zombie liveTime=100 + - Pig_Zombie liveTime=100 + - Skeleton liveTime=100 + - Spider liveTime=100 + - Cave_Spider liveTime=100 + - Slime liveTime=100 + - Creeper liveTime=100 + - Chicken liveTime=100 + - Pig liveTime=100 + - Sheep liveTime=100 + - Cow liveTime=100 + - Horse liveTime=100 + - GUARDIAN liveTime=100 + - BOAT liveTime=100 + - BLAZE liveTime=100 + # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds) + + #A per-entity chunk limiter. Very useful to limiting useless mobs like squid, but not zombies + # -- 'entity-limits' lists all the entities, their filters, and 'limit' to specify their limit + # to be removed/culled + # -- 'passive-purger' Enables random checking of chunks to see whether they're exceeding limits. + # -- Useful for when you want to prevent lag exploiting + # -- 'passive-cleaning-enabled' Enables the passive-purger + # -- 'check-interval' How often (in ticks, 50MS) should chunks be checked + # -- 'chunk-batch-size' How many chunks at once should be checked + per-entity-chunk-entity-limiter: + enabled: false + entity-limits: + - Squid limit:1 + - Zombie limit:2 + - Skeleton limit:2 + - Creeper limit:2 + - Chicken limit:3 + - Pig limit:5 + - Sheep limit:5 + - Cow limit:5 + - Horse limit:3 !hasName + - Villager limit:4 + - Arrow limit:4 inGround + - Rabbit limit:2 + - PufferFish limit:2 + - Silverfish limit:2 + - TROPICAL_FISH limit:2 + - COD limit:2 + - DOLPHIN limit:2 + - Bat limit:1 + - Armorstand limit:10 + passive-cleaner: + passive-cleaning-enabled: false + check-interval: 20 + chunk-batch-size: 100 + + #How many mobs should be allowed to spawn globally + # -- 'interval' is the check interval check the current spawn amounts + spawn-limiter: + enabled: false + interval: 15 + mobs: 300 + animals: 300 + + #Meters your TPS, if it goes to low, run the commands you wrote below! + # -- 'interval' is how often tps-meter will check the TPS + # -- 'tps-trigger' is at what TPS the commands will be ran at + # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed + # -- 'commands' lists what commands will be executed when tps-tigger is reached + # -- 'recover-commands' lists what commands will be executed when tps-recover is reached + # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs + # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers + # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast + tps-meter: + enabled: false + trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures' + recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!' + broadcast-enabled: false + interval: 15 + tps-trigger: 14.0 + tps-recover: 19.0 + commands: + - 'lagg killmobs' + - 'lagg clear' + - 'lagg halt on' + recover-commands: + - 'lagg halt off' + + #This is /lagg killmobs, put what you DON'T want removed! + # -- 'remove-named', when FALSE entities with custom names will NOT be removed + # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs + kill-mobs: + remove-named: false + mob-filter: + - Villager + - Wolf + # - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test" + # - Zombie hasName <- This entity will be filtered if it HAS a name + - ARMOR_STAND + - Horse + + #This nerfs mob-spawners (Natural and player-made) + #------------------------------------------------- + #This goes by chunks rather then spawners. This is to prevent + #a large buildup of mob-spawners within a small region to "bypass" + #your set limit. It also allows for keys to be generated more easily + #increasing the performance + # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner + # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove + # -- the mobs spawned by the mobspawner upon chunk unload (Highly Recommended) + mobspawner: + enabled: false + max-spawn: 4 + remove-mobs-on-chunk-unload: true + + #Dont use if you have CB++ or Spigot! + item-merger: + enabled: false + radius: 6 + + #Auto-removal options + # -- warnings works like this; time = the time warning should be given, msg = warning message at that time + # -- NOTE: The below 'remove' section applies to this remover! + # -- NOTE: Putting the interval to low will cause issues! + # -- NOTE: To disable "warnings", set it to "warnings: []" + # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default) + # + # !==[ All string values MUST be inside '']==! + # + # -- 'remove-entities' lists what entities should be REMOVED on removal + # -- 'warnings' list warnings to be given out at specified times + # -- 'item-filter' What ground-items should NOT be removed during removal + # -- 'remove-entities' What entities SHOULD be removed during removal + auto-removal: + enabled: true + broadcast-message: '&6[ClearLag] &a+RemoveAmount 体の不要なエンティティを消去しました' + broadcast-removal: false # default: true + autoremoval-interval: 600 # default: 460 + world-filter: + # - this_world <-This world will be ignored during removal! + boat: true # default: false + falling-block: true + experience-orb: true + painting: false + projectile: true # default: false + item: false # default: true + itemframe: false + minecart: true # default: false + primed-tnt: true + item-filter: + # - Stone <-This item-id will be ignored during removal! + # - Grass + remove-entities: + # - cow <- This mob-type will be REMOVED during removal! + # - MINECART_MOB_SPAWNER + # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds) + # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted + # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name + warnings: + - 'time:570 msg:&4[ClearLag] &cあと &7+remaining &c秒で不要なエンティティを消去します' + + #What should be removed during /lagg clear, nearly the same thing as auto-removal + command-remove: + world-filter: + # - this_world <-This world will be ignored during removal! + broadcast-removal: false + boat: true + falling-block: true + experience-orb: true + painting: false + projectile: true + item: true + itemframe: false + minecart: true + primed-tnt: true + item-filter: + # - Stone <-This item-id will be ignored during removal! + # - Grass + remove-entities: + # - cow <- This mob-type will be REMOVED during removal! + # - MINECART_MOB_SPAWNER + # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds) + # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted + # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name + + #Very very old, but still works. Just specifies a global entity limit. I'd recommend 'custom-trigger-removal' instead + # -- 'max' max entities allowed before the entity removal is activated + limit: + enabled: false + max: 1000 + check-interval: 60 + broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!' + world-filter: + # - this_world <-This world will be ignored during removal! + broadcast-removal: true + boat: true + falling-block: true + experience-orb: true + painting: false + projectile: true + item: true + itemframe: false + minecart: true + primed-tnt: true + item-filter: + # - Stone + # - Grass <-This item-id will be ignored during removal! + + + # Create your own custom removal stuff! + # -- warnings works like this; time = the time warning should be given, msg = warning message at that time + # -- NOTE: The below 'remove' section applies to this remover! + # \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ + # > READ FOR HELP -> https://dev.bukkit.org/projects/clearlagg/pages/config-setup <- READ FOR HELP < + # /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ + custom-trigger-removal: + enabled: false + triggers: + trigger1: + trigger-type: tps-trigger + run-interval: 5 + tps-trigger: 14.0 + tps-recover: 19.0 + jobs: + command-executor: + commands: + - 'lagg killmobs' + - 'lagg clear' + - 'lagg halt' + recover-commands: + - 'lagg halt' + entity-clearer: + execute-job-time: 120 + warnings: + - 'time:60 msg:&4[ClearLag] &cEntities/drops will be purged in &7+remaining &cseconds!' + - 'time:100 msg:&4[ClearLag] &cEntities/drops will be purged in &720 &cseconds!' + - 'time:110 msg:&4[ClearLag] &cEntities/drops will be purged in &710 &cseconds!' + world-filter: + # - world <-This world will be ignored during removal + removeEntities: + - item + - zombie !hasName + - skeleton !hasName + - pig !hasName + - cow !hasName + trigger2: + trigger-type: entity-limit-trigger + run-interval: 25 + limit: 200 + world-filter: + # - world <-This world will be ignored during checking + entity-limits: + - zombie + - skeleton + - enderman + jobs: + entity-clearer: + world-filter: + # - world <-This world will be ignored during removal + remove-entities: + - zombie + - skeleton + - enderman diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml index e73b185ab..273d315a1 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml @@ -233,6 +233,11 @@ spec: mountPath: /plugins/BetterChairs/config.yml subPath: BetterChairs-config.yml + # ClearLag プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/ClearLag/config.yml + subPath: ClearLag-config.yml + # JMX exporter 周りのファイルが入ったボリューム達のマウント設定 - name: jmx-exporter-download-volume mountPath: /jmx-exporter/jmx-exporter-javaagent.jar diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index b539b9c13..149f87e98 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -369,6 +369,11 @@ spec: mountPath: /plugins/BungeePortals/config.yml subPath: BungeePortals-config.yml + # ClearLag プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/ClearLag/config.yml + subPath: ClearLag-config.yml + # SeichiAssist プラグインの設定ファイル - name: seichiassist-config mountPath: /plugins/SeichiAssist/config.yml From a47ce4048bd15a473bf22ab42e3e30ba6807bdc1 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 21:02:46 +0900 Subject: [PATCH 10/17] feat: add CoreProtect config --- .../common-configs/plugin-configs.yaml | 150 ++++++++++++++++++ .../templates/debug-lobby/lobby-server.yaml | 8 + .../templates/debug-s1/seichiassist.yaml | 8 + 3 files changed, 166 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml index 12f2b092c..950bd6e58 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml @@ -2235,3 +2235,153 @@ data: - zombie - skeleton - enderman + + CoreProtect-config.yml: | + # CoreProtect Config + + # CoreProtect is donationware. Obtain a donation key from coreprotect.net/donate/ + donation-key: + + # MySQL is optional and not required. + # If you prefer to use MySQL, enable the following and fill out the fields. + use-mysql: true + table-prefix: co_ + mysql-host: mariadb + mysql-port: 3306 + mysql-database: "${CFG_COREPROTECT_MYSQL_DATABASE_NAME}" + mysql-username: root + mysql-password: '' + + # If modified, will automatically attempt to translate languages phrases. + # List of language codes: https://coreprotect.net/languages/ + language: ja # default: en + + # If enabled, CoreProtect will check for updates when your server starts up. + # If an update is available, you'll be notified via your server console. + check-updates: true + + # If enabled, other plugins will be able to utilize the CoreProtect API. + api-enabled: true + + # If enabled, extra data is displayed during rollbacks and restores. + # Can be manually triggered by adding "#verbose" to your rollback command. + verbose: true + + # If no radius is specified in a rollback or restore, this value will be + # used as the radius. Set to "0" to disable automatically adding a radius. + default-radius: 10 + + # The maximum radius that can be used in a command. Set to "0" to disable. + # To run a rollback or restore without a radius, you can use "r:#global". + max-radius: 100 + + # If enabled, items taken from containers (etc) will be included in rollbacks. + rollback-items: true + + # If enabled, entities, such as killed animals, will be included in rollbacks. + rollback-entities: true + + # If enabled, generic data, like zombies burning in daylight, won't be logged. + skip-generic-data: true + + # Logs blocks placed by players. + block-place: true + + # Logs blocks broken by players. + block-break: true + + # Logs blocks that break off of other blocks; for example, a sign or torch + # falling off of a dirt block that a player breaks. This is required for + # beds/doors to properly rollback. + natural-break: true + + # Properly track block movement, such as sand or gravel falling. + block-movement: true + + # Properly track blocks moved by pistons. + pistons: true + + # Logs blocks that burn up in a fire. + block-burn: true + + # Logs when a block naturally ignites, such as from fire spreading. + block-ignite: true + + # Logs explosions, such as TNT and Creepers. + explosions: true + + # Track when an entity changes a block, such as an Enderman destroying blocks. + entity-change: true + + # Logs killed entities, such as killed cows and enderman. + entity-kills: true + + # Logs text on signs. If disabled, signs will be blank when rolled back. + sign-text: true + + # Logs lava and water sources placed/removed by players who are using buckets. + buckets: true + + # Logs natural tree leaf decay. + leaf-decay: true + + # Logs tree growth. Trees are linked to the player who planted the sappling. + tree-growth: true + + # Logs mushroom growth. + mushroom-growth: true + + # Logs natural vine growth. + vine-growth: true + + # Logs the spread of sculk blocks from sculk catalysts. + sculk-spread: true + + # Logs when portals such as Nether portals generate naturally. + portals: true + + # Logs water flow. If water destroys other blocks, such as torches, + # this allows it to be properly rolled back. + water-flow: true + + # Logs lava flow. If lava destroys other blocks, such as torches, + # this allows it to be properly rolled back. + lava-flow: true + + # Allows liquid to be properly tracked and linked to players. + # For example, if a player places water which flows and destroys torches, + # it can all be properly restored by rolling back that single player. + liquid-tracking: true + + # Track item transactions, such as when a player takes items from + # a chest, furnace, or dispenser. + item-transactions: true + + # Logs items dropped by players. + item-drops: true + + # Logs items picked up by players. + item-pickups: true + + # Track all hopper transactions, such as when a hopper removes items from a + # chest, furnace, or dispenser. + hopper-transactions: true + + # Track player interactions, such as when a player opens a door, presses + # a button, or opens a chest. Player interactions can't be rolled back. + player-interactions: true + + # Logs messages that players send in the chat. + player-messages: true + + # Logs all commands used by players. + player-commands: true + + # Logs the logins and logouts of players. + player-sessions: true + + # Logs when a player changes their Minecraft username. + username-changes: true + + # Logs changes made via the plugin "WorldEdit" if it's in use on your server. + worldedit: true diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml index 273d315a1..041256d92 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml @@ -128,6 +128,9 @@ spec: - name: CFG_DISCORDSRV_CONSOLE_CHANNEL_ID value: "1054159676964622426" + - name: CFG_COREPROTECT_MYSQL_DATABASE_NAME + value: "coreprotect__mc_s1" + - name: RCON_CMDS_STARTUP value: |- gamerule keepInventory true @@ -238,6 +241,11 @@ spec: mountPath: /plugins/ClearLag/config.yml subPath: ClearLag-config.yml + # CoreProtect プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/CoreProtect/config.yml + subPath: CoreProtect-config.yml + # JMX exporter 周りのファイルが入ったボリューム達のマウント設定 - name: jmx-exporter-download-volume mountPath: /jmx-exporter/jmx-exporter-javaagent.jar diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 149f87e98..74d469e2a 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -140,6 +140,9 @@ spec: - name: CFG_DISCORDSRV_CONSOLE_CHANNEL_ID value: "1054159676964622426" + - name: CFG_COREPROTECT_MYSQL_DATABASE_NAME + value: "coreprotect__mc_s1" + - name: RCON_CMDS_STARTUP value: |- mv create world_SW NORMAL @@ -374,6 +377,11 @@ spec: mountPath: /plugins/ClearLag/config.yml subPath: ClearLag-config.yml + # CoreProtect プラグインの設定ファイル + - name: common-mcserver-plugin-configs + mountPath: /plugins/CoreProtect/config.yml + subPath: CoreProtect-config.yml + # SeichiAssist プラグインの設定ファイル - name: seichiassist-config mountPath: /plugins/SeichiAssist/config.yml From a71c08298e6f6b481177d8c1afaf0ae96fab4218 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 21:25:45 +0900 Subject: [PATCH 11/17] fix: fix Automessage config format --- .../common-configs/plugin-configs.yaml | 208 ++++++++---------- 1 file changed, 97 insertions(+), 111 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml index 950bd6e58..d780027b5 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml @@ -1491,117 +1491,103 @@ data: duplicate_object: 'This list already contains this redstone' AutoMessage-config.yml: | - # AutoMessage v1.7 Config - # ColorCodeList http://ess.khhq.net/mc/ - - ## === 自動アップデートの設定 === ## - # [true で有効 | false で無効] - # 初期: true - # このプラグインが最新バージョンかチェックします。 - # メッセージはOPにしか表示されません。 - UpdateChecker: false - AutoDownload: false - - ## === オートメッセージの設定 === ## - # 設定したメッセージがランダムで表示されます。 - # & でカラーコードを使用できます。 - # %tellraw でtellrawコマンドを実行します。 - # %line で改行することができます。(tellraw コマンドでは使用できません。) - Message: - - '&6[Tips]&f岩盤までぶち抜いた後&eY5&fにハーフブロックを敷く文化があるらしい。' - - '&6[Tips]&f&eALL値&fが&c200&fを超える建築やMOB溜め等はご遠慮ください。' - - '&6[Tips]&f看板の文字には&e&系各種カラーコードが使用可能&fです。' - - '&6[Tips]&f&e/mvspawn&fで今いるワールドのスポーン地点に移動します。' - - '&6[Tips]&f保護のフラグ設定は&e自己責任&fです。&c設定ミスに要注意&f!' - - '&6[Tips]&fルール違反を見かけたら&c反応せずに通報&fしましょう。' - - '&6[Tips]&f嫌なチャットは&e/ch hide <プレイヤー名>&fで非表示にしましょう。' - - '&6[Tips]&f個人間チャットは&e/tell&fコマンドをご利用ください。' - - '&6[Tips]&f&elunachat&fによるチャンネルチャット機能が利用可能です。' - - '&6[Tips]&f混雑時は空いてるサーバーに移動しての整地がオススメ。' - - '&6[Tips]&fチャットはサーバーごとに独立しています。' - - '&6[Tips]&f運営チームのなりすましにご注意ください。' - - '&6[Tips]&fゲーム内で運営チームへチャットしても(大体)反応しません。' - - '&6[Tips]&f運営チームへのお問い合わせは&ewebフォーム&fを使ってネ。(運営チーム個人宛の問い合わせはご遠慮ください)→&ehttps://www.seichi.network/access' - - '&6[Tips]&f地形にハマって出られない時は&e/spawn&fを使おう!' - - '&6[Tips]&fログインせずに投票しても特典は配布されます。' - - '&6[Tips]&fロビーサーバーへの移動は&e/hub&fで!' - - '&6[Tips]&f木の棒が無い!そんな時は&e/stick&fでいつでも召喚できます。' - - '&6[Tips]&f自分の家の建築はメインワールドで!' - - '&6[Tips]&fガチャ券と整地量は整地ワールド以外では増えません。' - - '&6[Tips]&f第2整地・第4整地ワールドは保護が必要ですが整地に集中できます。' - - '&6[Tips]&f無意味な保護の乱立は&c削除&処罰対象&fです。' - - '&6[Tips]&f建築物に対して大きすぎる保護は&c縮小&fされることがあります。' - - '&6[Tips]&f建築途中、または未建築の保護は&c削除&fすることがあります。' - - '&6[Tips]&f整地の心得を守って楽しく整地しましょう。' - - '&6[Tips]&f整地の心得①:下から掘らず、上から掘るべし!' - - '&6[Tips]&f整地の心得②:空中にブロックが残らないようにすべし!' - - '&6[Tips]&f整地の心得③:水やマグマは除去すべし!' - - '&6[Tips]&f整地の心得④:掘りぬいた後は綺麗に整えるべし!' - - '&6[Tips]&f&e整地の心得違反者&fは&c処罰&fされます。詳しくはルールをご確認下さい。' - - '&6[Tips]&f公式Discordサーバーで運営のお手伝いを募集しています。' - - '&6[Tips]&f1000ブロック整地するごとにガチャ券がもらえます。' - - '&6[Tips]&f公式サイトではガチャの景品リストを公開しています。' - - '&6[Tips]&f名前の左に表示されるのは&e整地レベルor二つ名&fです。' - - '&6[Tips]&f整地レベル上げ&ガチャ券稼ぎは&e整地ワールド&fで!' - - '&6[Tips]&f毎日夜8時からはドラゲナイタイム!8時地点でログインしたプレイヤーは採掘速度が上昇し、マナ使用率が減少します。' - - '&6[Tips]&fガチャ券は整地だけでなく&e投票&fすることでももらえます。' - - '&6[Tips]&fガチャ券で&e大当り&fを引く確率は&c1%&fです。' - - '&6[Tips]&fガチャ券で&eギガンティック大当り&fを引く確率は&c0.1%&fです。' - - '&6[Tips]&f整地鯖では&c先に保護を掛けないと建築出来ません&f。' - - '&6[Tips]&f木の棒メニューからコマンド不要で簡単に保護をかけられます。' - - '&6[Tips]&fスキルを使って真下に掘る時はShiftを押しっぱにしよう!' - - '&6[Tips]&f木の棒を右or左クリックすると便利なメニューが出現します。' - - '&6[Tips]&fワールド間移動は木の棒メニューからビーコンボタンで!' - - '&6[Tips]&fスキルの選択は木の棒メニューのスキルブックで!' - - '&6[Tips]&fホームポイント機能は木の棒メニューから使おう!' - - '&6[Tips]&f木の棒メニューから4次元ポケットが使えます。' - - '&6[Tips]&fサーバー間のアイテム移動には4次元ポケットを使おう!' - - '&6[Tips]&f整地Lv25以上でどこでもエンダーチェストが使えます。' - - '&6[Tips]&fMineStack機能は整地Lv1から使えます。' - - '&6[Tips]&f掘った土や石が消えた?それはMineStack機能のせいネ' - - '&6[Tips]&f採掘速度上昇効果は木の棒メニューでONOFF出来ます。' - - '&6[Tips]&f公式Discord→&ehttps://redmine.seichi.click/projects/public/wiki/Official_Discord_Documents' - - '&6[Tips]&f&cルールは必ず読みましょう&f→&ehttps://www.seichi.network/rule' - - '&6[Tips]&f&cはじめての方はチャットで質問する前に公式ホームページをチェックしましょう。読んでもわからなかったことをチャットで質問するようにしてください。&f→&ehttps://www.seichi.network/helloworld' - - '&6[Tips]&f疑問点は公式サイトで解決!→&ehttps://www.seichi.network/gigantic' - - '&6[Tips]&f整地鯖で使えるコマンド→&ehttps://cmd.seichi.click/' - - '&6[Tips]&f1日1回投票して特典をゲット!→&ehttps://goo.gl/cu7ziG' - - '&6[Tips]&fお問い合わせ→&ehttps://www.seichi.network/access' - - '&6[Tips]&fサーバーマップ→&ehttps://www.seichi.network/map' - - '&6[Tips]&f整地鯖ランキング(非公式)→&ehttps://seichi.conarin.com/ranking' - - '&6[Tips]&f接続時間はメイン・整地専用・公共施設サーバーにいると増えます。' - - '&6[Tips]&f公共施設サーバーのチュートリアルをプレイすると景品がもらえます。' - - '&6[Tips]&f別のサーバーに移動するには木の棒メニュー右上のネザースターをクリック。' - - '&6[Tips]&fガチャ景品のギフト券は公共施設サーバーで商品と交換できます。' - - '&6[Tips]&f第1整地ワールドは毎週金曜日朝6時にワールドリセットされます。' - - '&6[Tips]&fメインワールドでは頭を1保護につき20個まで設置可能です。' - - '&6[Tips]&f苗木・食料はメインのスポーン付近で配布しています。' - - '&6[Tips]&f整地鯖に来たばかりの人はココをみよう→&ehttps://www.seichi.network/helloworld' - - '&6[Tips]&fメインワールド紹介ページ→&ehttps://www.seichi.network/post/newmain' - - '&6[Tips]&f各整地ワールドではランダムテレポート機能(/rtp)が使えます。土地探しが楽ちん。' - - '&6[Tips]&fブログにはお役立ち情報が載っているよ→&ehttps://www.seichi.network/blog' - - '&6[Tips]&f放置をする場合は自分の家の中や放置部屋(メインワールドスポーン地点より入場)など安全な場所で!' - - '&6[Tips]&f第1整地ワールドでは心得違反による処罰がない代わりに整地量の計算が0.8倍になります。' - - '&6[Tips]&fアクティブスキルをセットしていても、ONになっていないとスキルは発動しません。Shift+右クリックでON・OFFを切り替えられます。' - - '&6[Tips]&fアルカディアサーバーのメインワールドにあるドット絵をドット絵専用ワールドに移管できます。申請はこちら→&ehttps://docs.google.com/forms/d/e/1FAIpQLSdwIkLPJZ_wbgqvyfmQVWaNcDrcZPQkPRADsq8IJRZKjd_Yxg/viewform' - - '&6[Tips]&e/tpa <プレイヤー名>&fで指定のプレイヤーにテレポートリクエストを送信できます。(承認されると相手の位置にテレポートできます。)' - - '&6[Tips]&e/tpahere <プレイヤー名>&fで指定のプレイヤーにテレポートリクエストを送信できます。(承認されると相手が自分の位置にテレポートします。)' - - '&6[Tips]&e/jp &fで日本語チャットのON/OFFを切り替えます。' - - '&6[Tips]&e/fly add <分数>&fで指定の分数だけ飛行時間を追加できます。また、&e/fly endless&fで自分が終了するまで飛行することが出来ます。' - - '&6[Tips]&e/minestack store-all&fでインベントリ内のアイテムをMineStackに格納できます。' - - '&6[Tips]&e/trade <プレイヤー名>&fで指定のプレイヤーと取引を開始できます。(取引中はチャット機能が使えないので交換内容は事前にしておきましょう。)' - - '&6[Tips]&f静かに整地がしたい?そんなときはエデンやヴァルハラをオススメします。' - - '&6[Tips]&fTownyはヴァルハラサーバーで利用できます。' - - '&6[Tips]&f最新情報は公式ホームページまたは公式Discordサーバーで!' - - '&6[Tips]&cご自身のエリアで災害が発生した際は、ゲーム内チャットの災害情報は鵜呑みにせず &l"すぐにゲームを終了"&cしてテレビやラジオなどのメディアで災害情報を入手しましょう。' - - ## === ログの設定 === ## - # ログの表示設定です。 - Log: true - - ## === タイマーの設定 === ## - # メッセージが表示されるまでの時間の設定です。 - Seconds: 300 + timer: 300 # default: 10 + Random: true # default: false + UseTellRawMessages: false + Messages: + - '&6[Tips]&f岩盤までぶち抜いた後&eY5&fにハーフブロックを敷く文化があるらしい。' + - '&6[Tips]&f&eALL値&fが&c200&fを超える建築やMOB溜め等はご遠慮ください。' + - '&6[Tips]&f看板の文字には&e&系各種カラーコードが使用可能&fです。' + - '&6[Tips]&f&e/mvspawn&fで今いるワールドのスポーン地点に移動します。' + - '&6[Tips]&f保護のフラグ設定は&e自己責任&fです。&c設定ミスに要注意&f!' + - '&6[Tips]&fルール違反を見かけたら&c反応せずに通報&fしましょう。' + - '&6[Tips]&f嫌なチャットは&e/ch hide <プレイヤー名>&fで非表示にしましょう。' + - '&6[Tips]&f個人間チャットは&e/tell&fコマンドをご利用ください。' + - '&6[Tips]&f&elunachat&fによるチャンネルチャット機能が利用可能です。' + - '&6[Tips]&f混雑時は空いてるサーバーに移動しての整地がオススメ。' + - '&6[Tips]&fチャットはサーバーごとに独立しています。' + - '&6[Tips]&f運営チームのなりすましにご注意ください。' + - '&6[Tips]&fゲーム内で運営チームへチャットしても(大体)反応しません。' + - '&6[Tips]&f運営チームへのお問い合わせは&ewebフォーム&fを使ってネ。(運営チーム個人宛の問い合わせはご遠慮ください)→&ehttps://www.seichi.network/access' + - '&6[Tips]&f地形にハマって出られない時は&e/spawn&fを使おう!' + - '&6[Tips]&fログインせずに投票しても特典は配布されます。' + - '&6[Tips]&fロビーサーバーへの移動は&e/hub&fで!' + - '&6[Tips]&f木の棒が無い!そんな時は&e/stick&fでいつでも召喚できます。' + - '&6[Tips]&f自分の家の建築はメインワールドで!' + - '&6[Tips]&fガチャ券と整地量は整地ワールド以外では増えません。' + - '&6[Tips]&f第2整地・第4整地ワールドは保護が必要ですが整地に集中できます。' + - '&6[Tips]&f無意味な保護の乱立は&c削除&処罰対象&fです。' + - '&6[Tips]&f建築物に対して大きすぎる保護は&c縮小&fされることがあります。' + - '&6[Tips]&f建築途中、または未建築の保護は&c削除&fすることがあります。' + - '&6[Tips]&f整地の心得を守って楽しく整地しましょう。' + - '&6[Tips]&f整地の心得①:下から掘らず、上から掘るべし!' + - '&6[Tips]&f整地の心得②:空中にブロックが残らないようにすべし!' + - '&6[Tips]&f整地の心得③:水やマグマは除去すべし!' + - '&6[Tips]&f整地の心得④:掘りぬいた後は綺麗に整えるべし!' + - '&6[Tips]&f&e整地の心得違反者&fは&c処罰&fされます。詳しくはルールをご確認下さい。' + - '&6[Tips]&f公式Discordサーバーで運営のお手伝いを募集しています。' + - '&6[Tips]&f1000ブロック整地するごとにガチャ券がもらえます。' + - '&6[Tips]&f公式サイトではガチャの景品リストを公開しています。' + - '&6[Tips]&f名前の左に表示されるのは&e整地レベルor二つ名&fです。' + - '&6[Tips]&f整地レベル上げ&ガチャ券稼ぎは&e整地ワールド&fで!' + - '&6[Tips]&f毎日夜8時からはドラゲナイタイム!8時地点でログインしたプレイヤーは採掘速度が上昇し、マナ使用率が減少します。' + - '&6[Tips]&fガチャ券は整地だけでなく&e投票&fすることでももらえます。' + - '&6[Tips]&fガチャ券で&e大当り&fを引く確率は&c1%&fです。' + - '&6[Tips]&fガチャ券で&eギガンティック大当り&fを引く確率は&c0.1%&fです。' + - '&6[Tips]&f整地鯖では&c先に保護を掛けないと建築出来ません&f。' + - '&6[Tips]&f木の棒メニューからコマンド不要で簡単に保護をかけられます。' + - '&6[Tips]&fスキルを使って真下に掘る時はShiftを押しっぱにしよう!' + - '&6[Tips]&f木の棒を右or左クリックすると便利なメニューが出現します。' + - '&6[Tips]&fワールド間移動は木の棒メニューからビーコンボタンで!' + - '&6[Tips]&fスキルの選択は木の棒メニューのスキルブックで!' + - '&6[Tips]&fホームポイント機能は木の棒メニューから使おう!' + - '&6[Tips]&f木の棒メニューから4次元ポケットが使えます。' + - '&6[Tips]&fサーバー間のアイテム移動には4次元ポケットを使おう!' + - '&6[Tips]&f整地Lv25以上でどこでもエンダーチェストが使えます。' + - '&6[Tips]&fMineStack機能は整地Lv1から使えます。' + - '&6[Tips]&f掘った土や石が消えた?それはMineStack機能のせいネ' + - '&6[Tips]&f採掘速度上昇効果は木の棒メニューでONOFF出来ます。' + - '&6[Tips]&f公式Discord→&ehttps://redmine.seichi.click/projects/public/wiki/Official_Discord_Documents' + - '&6[Tips]&f&cルールは必ず読みましょう&f→&ehttps://www.seichi.network/rule' + - '&6[Tips]&f&cはじめての方はチャットで質問する前に公式ホームページをチェックしましょう。読んでもわからなかったことをチャットで質問するようにしてください。&f→&ehttps://www.seichi.network/helloworld' + - '&6[Tips]&f疑問点は公式サイトで解決!→&ehttps://www.seichi.network/gigantic' + - '&6[Tips]&f整地鯖で使えるコマンド→&ehttps://cmd.seichi.click/' + - '&6[Tips]&f1日1回投票して特典をゲット!→&ehttps://goo.gl/cu7ziG' + - '&6[Tips]&fお問い合わせ→&ehttps://www.seichi.network/access' + - '&6[Tips]&fサーバーマップ→&ehttps://www.seichi.network/map' + - '&6[Tips]&f整地鯖ランキング(非公式)→&ehttps://seichi.conarin.com/ranking' + - '&6[Tips]&f接続時間はメイン・整地専用・公共施設サーバーにいると増えます。' + - '&6[Tips]&f公共施設サーバーのチュートリアルをプレイすると景品がもらえます。' + - '&6[Tips]&f別のサーバーに移動するには木の棒メニュー右上のネザースターをクリック。' + - '&6[Tips]&fガチャ景品のギフト券は公共施設サーバーで商品と交換できます。' + - '&6[Tips]&f第1整地ワールドは毎週金曜日朝6時にワールドリセットされます。' + - '&6[Tips]&fメインワールドでは頭を1保護につき20個まで設置可能です。' + - '&6[Tips]&f苗木・食料はメインのスポーン付近で配布しています。' + - '&6[Tips]&f整地鯖に来たばかりの人はココをみよう→&ehttps://www.seichi.network/helloworld' + - '&6[Tips]&fメインワールド紹介ページ→&ehttps://www.seichi.network/post/newmain' + - '&6[Tips]&f各整地ワールドではランダムテレポート機能(/rtp)が使えます。土地探しが楽ちん。' + - '&6[Tips]&fブログにはお役立ち情報が載っているよ→&ehttps://www.seichi.network/blog' + - '&6[Tips]&f放置をする場合は自分の家の中や放置部屋(メインワールドスポーン地点より入場)など安全な場所で!' + - '&6[Tips]&f第1整地ワールドでは心得違反による処罰がない代わりに整地量の計算が0.8倍になります。' + - '&6[Tips]&fアクティブスキルをセットしていても、ONになっていないとスキルは発動しません。Shift+右クリックでON・OFFを切り替えられます。' + - '&6[Tips]&fアルカディアサーバーのメインワールドにあるドット絵をドット絵専用ワールドに移管できます。申請はこちら→&ehttps://docs.google.com/forms/d/e/1FAIpQLSdwIkLPJZ_wbgqvyfmQVWaNcDrcZPQkPRADsq8IJRZKjd_Yxg/viewform' + - '&6[Tips]&e/tpa <プレイヤー名>&fで指定のプレイヤーにテレポートリクエストを送信できます。(承認されると相手の位置にテレポートできます。)' + - '&6[Tips]&e/tpahere <プレイヤー名>&fで指定のプレイヤーにテレポートリクエストを送信できます。(承認されると相手が自分の位置にテレポートします。)' + - '&6[Tips]&e/jp &fで日本語チャットのON/OFFを切り替えます。' + - '&6[Tips]&e/fly add <分数>&fで指定の分数だけ飛行時間を追加できます。また、&e/fly endless&fで自分が終了するまで飛行することが出来ます。' + - '&6[Tips]&e/minestack store-all&fでインベントリ内のアイテムをMineStackに格納できます。' + - '&6[Tips]&e/trade <プレイヤー名>&fで指定のプレイヤーと取引を開始できます。(取引中はチャット機能が使えないので交換内容は事前にしておきましょう。)' + - '&6[Tips]&f静かに整地がしたい?そんなときはエデンやヴァルハラをオススメします。' + - '&6[Tips]&fTownyはヴァルハラサーバーで利用できます。' + - '&6[Tips]&f最新情報は公式ホームページまたは公式Discordサーバーで!' + - '&6[Tips]&cご自身のエリアで災害が発生した際は、ゲーム内チャットの災害情報は鵜呑みにせず &l"すぐにゲームを終了"&cしてテレビやラジオなどのメディアで災害情報を入手しましょう。' + TellRawMessages: + - '{"text":"[Get more info on TellRaws here: minecraft.tools/en/tellraw.php ]","color":"dark_purple"}' + - '{"text":"[This is a test message!] ","color":"aqua"}' + - '["",{"text":"Click me to open URL!","color":"red","bold":true,"underlined":false,"clickEvent":{"action":"open_url","value":"https://www.google.com"}}]' + - '{"text":"Hover over me for help text!","color":"yellow","bold":true,"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"I + am a hint!","color":"yellow","bold":true}]}}}' + - '{"text":"Click me to run help command!","color":"yellow","bold":true,"clickEvent":{"action":"run_command","value":"/help"}}' BetterChairs-config.yml: | # BetterChairs Remastered From c88d2e66d0511f5708dd7c6b94ed890587d40619 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 23:01:17 +0900 Subject: [PATCH 12/17] feat: add CustomJoinLeftMessage config --- .../templates/common-configs/plugin-configs.yaml | 16 ++++++++++++++++ .../templates/debug-lobby/lobby-server.yaml | 7 +++++++ .../templates/debug-s1/seichiassist.yaml | 7 +++++++ 3 files changed, 30 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml index d780027b5..405bcdef4 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/plugin-configs.yaml @@ -2371,3 +2371,19 @@ data: # Logs changes made via the plugin "WorldEdit" if it's in use on your server. worldedit: true + + CustomJoinLeftMessage-config.yml: | + # JOIN-LEAVE V2.4.3 Config || Copyright (C) 2023 IdW0309 + + Join: '&7%player% &7がログインしました' + Leave: '[&c-&r] &6The player &6&l%player% &6has left the server!' + First-Join-Message: false # default: true + First-Join: '[&a+&r] &6The player &6&l%player% &6has joined for the first time!' + Language: EN + CommandPrefix: Join-Leave + Title-Onjoin: false # default: true + Hide-Players-With-Perms: true # default: true + Disable-Join-LeaveMessage: false + Fireworks-onJoin: false # default: true + Sound-onJoin: false # default: true + Use-Essentials: false diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml index 041256d92..2cc689294 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml @@ -143,6 +143,7 @@ spec: lp group default permission set worldguard.region.list.own true lp group default permission set worldguard.region.info.* true lp group default permission set worldguard.region.flag.regions.own.* true + lp group default permission set joinleave.silentleave true image: ghcr.io/giganticminecraft/seichi_minecraft_server_debug_base_1_18_2:sha-1267b49 name: minecraft @@ -246,6 +247,12 @@ spec: mountPath: /plugins/CoreProtect/config.yml subPath: CoreProtect-config.yml + # CustomLJoinLeftMessage プラグインの設定ファイル + - name: common-mcserver-plugin-configs + # フォルダ名は Join-Leave(プラグイン名と一致しない) + mountPath: /plugins/Join-Leave/config.yml + subPath: CustomJoinLeftMessage-config.yml + # JMX exporter 周りのファイルが入ったボリューム達のマウント設定 - name: jmx-exporter-download-volume mountPath: /jmx-exporter/jmx-exporter-javaagent.jar diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 74d469e2a..e25e4bf41 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -206,6 +206,7 @@ spec: lp group default permission set clicktpa.tpaccept true lp group default permission set clicktpa.tpahere true lp group default permission set clicktpa.tptoggle true + lp group default permission set joinleave.silentleave true image: ghcr.io/giganticminecraft/seichi_minecraft_server_debug_base_1_18_2:sha-1267b49 name: minecraft @@ -382,6 +383,12 @@ spec: mountPath: /plugins/CoreProtect/config.yml subPath: CoreProtect-config.yml + # CustomLJoinLeftMessage プラグインの設定ファイル + - name: common-mcserver-plugin-configs + # フォルダ名は Join-Leave(プラグイン名と一致しない) + mountPath: /plugins/Join-Leave/config.yml + subPath: CustomJoinLeftMessage-config.yml + # SeichiAssist プラグインの設定ファイル - name: seichiassist-config mountPath: /plugins/SeichiAssist/config.yml From 445d49dfea5340e8157adaca8da953cd1bc14e0b Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 23:02:09 +0900 Subject: [PATCH 13/17] fix: fix database name for CoreProtect in lobby --- .../templates/debug-lobby/lobby-server.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml index 2cc689294..c7892c66e 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-lobby/lobby-server.yaml @@ -129,7 +129,7 @@ spec: value: "1054159676964622426" - name: CFG_COREPROTECT_MYSQL_DATABASE_NAME - value: "coreprotect__mc_s1" + value: "coreprotect__mc_lobby" - name: RCON_CMDS_STARTUP value: |- From 8820e54ca297bccbc99953d15766f7e969d04b3e Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Mon, 16 Sep 2024 23:59:23 +0900 Subject: [PATCH 14/17] feat: add DynMap config --- .../common-configs/dynmap-config.yml | 545 ++++++++++++++++++ .../templates/debug-s1/dynmap-config.yaml | 244 ++++++++ .../templates/debug-s1/seichiassist.yaml | 17 + 3 files changed, 806 insertions(+) create mode 100644 seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml create mode 100644 seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/dynmap-config.yaml diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml new file mode 100644 index 000000000..23464bab3 --- /dev/null +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml @@ -0,0 +1,545 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: common-dynmap-config +data: + # yaml ではなく txt + dynmap-configuration.txt: | + # All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/ + + # All map templates are defined in the templates directory + # To use the HDMap very-low-res (2 ppb) map templates as world defaults, set value to vlowres + # The definitions of these templates are in normal-vlowres.txt, nether-vlowres.txt, and the_end-vlowres.txt + # To use the HDMap low-res (4 ppb) map templates as world defaults, set value to lowres + # The definitions of these templates are in normal-lowres.txt, nether-lowres.txt, and the_end-lowres.txt + # To use the HDMap hi-res (16 ppb) map templates (these can take a VERY long time for initial fullrender), set value to hires + # The definitions of these templates are in normal-hires.txt, nether-hires.txt, and the_end-hires.txt + # To use the HDMap low-res (4 ppb) map templates, with support for boosting resolution selectively to hi-res (16 ppb), set value to low_boost_hi + # The definitions of these templates are in normal-low_boost_hi.txt, nether-low_boost_hi.txt, and the_end-low_boost_hi.txt + # To use the HDMap hi-res (16 ppb) map templates, with support for boosting resolution selectively to vhi-res (32 ppb), set value to hi_boost_vhi + # The definitions of these templates are in normal-hi_boost_vhi.txt, nether-hi_boost_vhi.txt, and the_end-hi_boost_vhi.txt + # To use the HDMap hi-res (16 ppb) map templates, with support for boosting resolution selectively to xhi-res (64 ppb), set value to hi_boost_xhi + # The definitions of these templates are in normal-hi_boost_xhi.txt, nether-hi_boost_xhi.txt, and the_end-hi_boost_xhi.txt + deftemplatesuffix: vlowres + + # Set default tile scale (0 = 128px x 128x, 1 = 256px x 256px, 2 = 512px x 512px, 3 = 1024px x 1024px, 4 = 2048px x 2048px) - 0 is default + # Note: changing this value will result in all maps that use the default value being required to be fully rendered + #defaulttilescale: 0 + + # Map storage scheme: only uncomment one 'type' value + # filetree: classic and default scheme: tree of files, with all map data under the directory indicated by 'tilespath' setting + # sqlite: single SQLite database file (this can get VERY BIG), located at 'dbfile' setting (default is file dynmap.db in data directory) + # mysql: MySQL database, at hostname:port in database, accessed via userid with password + # mariadb: MariaDB database, at hostname:port in database, accessed via userid with password + # postgres: PostgreSQL database, at hostname:port in database, accessed via userid with password + storage: + # Filetree storage (standard tree of image files for maps) + type: filetree + # SQLite db for map storage (uses dbfile as storage location) + #type: sqlite + #dbfile: dynmap.db + # MySQL DB for map storage (at 'hostname':'port' with flags "flags" in database 'database' using user 'userid' password 'password' and table prefix 'prefix') + #type: mysql + #hostname: localhost + #port: 3306 + #database: dynmap + #userid: dynmap + #password: dynmap + #prefix: "" + #flags: "?allowReconnect=true&autoReconnect=true" + # + # AWS S3 backet web site + #type: aws_s3 + #bucketname: "dynmap-bucket-name" + #region: us-east-1 + #aws_access_key_id: "" + #aws_secret_access_key: "" + #override_endpoint: "" + + components: + - class: org.dynmap.ClientConfigurationComponent + + # Remember to change the following class to org.dynmap.JsonFileClientUpdateComponent when using an external web server. + #- class: org.dynmap.InternalClientUpdateComponent + # sendhealth: false + # sendposition: true + # allowwebchat: false + # webchat-interval: 5 + # hidewebchatip: false + # trustclientname: false + # includehiddenplayers: false + # # (optional) if true, color codes in player display names are used + # use-name-colors: false + # # (optional) if true, player login IDs will be used for web chat when their IPs match + # use-player-login-ip: true + # # (optional) if use-player-login-ip is true, setting this to true will cause chat messages not matching a known player IP to be ignored + # require-player-login-ip: false + # # (optional) block player login IDs that are banned from chatting + # block-banned-player-chat: true + # # Require login for web-to-server chat (requires login-enabled: true) + # webchat-requires-login: true + # # If set to true, users must have dynmap.webchat permission in order to chat + # webchat-permissions: false + # # Limit length of single chat messages + # chatlengthlimit: 256 + ## # Optional - make players hidden when they are inside/underground/in shadows (#=light level: 0=full shadow,15=sky) + ## hideifshadow: 4 + ## # Optional - make player hidden when they are under cover (#=sky light level,0=underground,15=open to sky) + ## hideifundercover: 14 + ## # (Optional) if true, players that are crouching/sneaking will be hidden + # hideifsneaking: false + # # optional, if true, players that are in spectator mode will be hidden + # hideifspectator: false + # # If true, player positions/status is protected (login with ID with dynmap.playermarkers.seeall permission required for info other than self) + # protected-player-info: false + # # If true, hide players with invisibility potion effects active + # hide-if-invisiblity-potion: true + # # If true, player names are not shown on map, chat, list + # hidenames: false + - class: org.dynmap.JsonFileClientUpdateComponent + writeinterval: 1 + sendhealth: true + sendposition: true + allowwebchat: false + webchat-interval: 5 + hidewebchatip: false + includehiddenplayers: false + use-name-colors: false + use-player-login-ip: false + require-player-login-ip: false + block-banned-player-chat: true + hideifshadow: -1 + hideifundercover: -1 + hideifsneaking: false + # Require login for web-to-server chat (requires login-enabled: true) + webchat-requires-login: false + # If set to true, users must have dynmap.webchat permission in order to chat + webchat-permissions: false + # Limit length of single chat messages + chatlengthlimit: 256 + hide-if-invisiblity-potion: true + hidenames: false + + - class: org.dynmap.SimpleWebChatComponent + allowchat: true + # If true, web UI users can supply name for chat using 'playername' URL parameter. 'trustclientname' must also be set true. + allowurlname: false + + # Note: this component is needed for the dmarker commands, and for the Marker API to be available to other plugins + - class: org.dynmap.MarkersComponent + type: markers + showlabel: false + enablesigns: false + # Default marker set for sign markers + default-sign-set: markers + # (optional) add spawn point markers to standard marker layer + showspawn: true + spawnicon: world + spawnlabel: "Spawn" + # (optional) layer for showing offline player's positions (for 'maxofflinetime' minutes after logoff) + showofflineplayers: false + offlinelabel: "Offline" + offlineicon: offlineuser + offlinehidebydefault: true + offlineminzoom: 0 + maxofflinetime: 30 + # (optional) layer for showing player's spawn beds + showspawnbeds: false + spawnbedlabel: "Spawn Beds" + spawnbedicon: bed + spawnbedhidebydefault: true + spawnbedminzoom: 0 + spawnbedformat: "%name%'s bed" + spawnbedremoveonplayerleave: true + # (optional) show world border (vanilla 1.8+) + showworldborder: true + worldborderlabel: "Border" + + - class: org.dynmap.ClientComponent + type: chat + allowurlname: false + - class: org.dynmap.ClientComponent + type: chatballoon + focuschatballoons: false + - class: org.dynmap.ClientComponent + type: chatbox + showplayerfaces: true + messagettl: 5 + # Optional: set number of lines in scrollable message history: if set, messagettl is not used to age out messages + scrollback: 100 + # Optiona; set maximum number of lines visible for chatbox + visiblelines: 10 + # Optional: send push button + sendbutton: false + - class: org.dynmap.ClientComponent + type: playermarkers + showplayerfaces: true + showplayerhealth: false + # If true, show player body too (only valid if showplayerfaces=true) + showplayerbody: false + # Option to make player faces small - don't use with showplayerhealth or largeplayerfaces + smallplayerfaces: false + # Option to make player faces larger - don't use with showplayerhealth or smallplayerfaces + largeplayerfaces: false + # Optional - make player faces layer hidden by default + hidebydefault: false + # Optional - ordering priority in layer menu (low goes before high - default is 0) + layerprio: 0 + # Optional - label for player marker layer (default is 'Players') + label: "Players" + + #- class: org.dynmap.ClientComponent + # type: digitalclock + - class: org.dynmap.ClientComponent + type: link + + - class: org.dynmap.ClientComponent + type: timeofdayclock + showdigitalclock: false + showweather: false + # Mouse pointer world coordinate display + - class: org.dynmap.ClientComponent + type: coord + label: "Location" + hidey: false + show-mcr: false + show-chunk: false + + # Note: more than one logo component can be defined + - class: org.dynmap.ClientComponent + type: logo + text: "seichi.network gigantic" + logourl: "images/logo.png" + linkurl: "https://seichi.network/gigantic" + # Valid positions: top-left, top-right, bottom-left, bottom-right + position: bottom-right + + # 放置切断有効化 + - class: org.dynmap.ClientComponent + type: inactive + timeout: 10800 # in seconds (1800 seconds = 30 minutes) + redirecturl: inactive.html + #showmessage: 'You were inactive for too long.' + + #- class: org.dynmap.TestComponent + # stuff: "This is some configuration-value" + + # Treat hiddenplayers.txt as a whitelist for players to be shown on the map? (Default false) + display-whitelist: false + + # How often a tile gets rendered (in seconds). + renderinterval: 1 + + # How many tiles on update queue before accelerate render interval + renderacceleratethreshold: 60 + + # How often to render tiles when backlog is above renderacceleratethreshold + renderaccelerateinterval: 0.2 + + # How many update tiles to work on at once (if not defined, default is 1/2 the number of cores) + tiles-rendered-at-once: 2 + + # If true, use normal priority threads for rendering (versus low priority) - this can keep rendering + # from starving on busy Windows boxes (Linux JVMs pretty much ignore thread priority), but may result + # in more competition for CPU resources with other processes + usenormalthreadpriority: true + + # Save and restore pending tile renders - prevents their loss on server shutdown or /reload + saverestorepending: true + + # Save period for pending jobs (in seconds): periodic saving for crash recovery of jobs + save-pending-period: 900 + + # Zoom-out tile update period - how often to scan for and process tile updates into zoom-out tiles (in seconds) + zoomoutperiod: 30 + + # Control whether zoom out tiles are validated on startup (can be needed if zoomout processing is interrupted, but can be expensive on large maps) + initial-zoomout-validate: true + + # Default delay on processing of updated tiles, in seconds. This can reduce potentially expensive re-rendering + # of frequently updated tiles (such as due to machines, pistons, quarries or other automation). Values can + # also be set on individual worlds and individual maps. + tileupdatedelay: 60 + + # Tile hashing is used to minimize tile file updates when no changes have occurred - set to false to disable + enabletilehash: true + + # Optional - hide ores: render as normal stone (so that they aren't revealed by maps) + #hideores: true + + # Optional - enabled BetterGrass style rendering of grass and snow block sides + #better-grass: true + + # Optional - enable smooth lighting by default on all maps supporting it (can be set per map as lighting option) + smooth-lighting: true + + # Optional - use world provider lighting table (good for custom worlds with custom lighting curves, like nether) + # false=classic Dynmap lighting curve + use-brightness-table: true + + # Optional - render specific block names using the textures and models of another block name: can be used to hide/disguise specific + # blocks (e.g. make ores look like stone, hide chests) or to provide simple support for rendering unsupported custom blocks + block-alias: + # "minecraft:quartz_ore": "stone" + # "diamond_ore": "coal_ore" + + # Default image format for HDMaps (png, jpg, jpg-q75, jpg-q80, jpg-q85, jpg-q90, jpg-q95, jpg-q100, webp, webp-q75, webp-q80, webp-q85, webp-q90, webp-q95, webp-q100, webp-l), + # Note: any webp format requires the presence of the 'webp command line tools' (cwebp, dwebp) (https://developers.google.com/speed/webp/download) + # + # Has no effect on maps with explicit format settings + image-format: png + + # If cwebp or dwebp are not on the PATH, use these settings to provide their full path. Do not use these settings if the tools are on the PATH + # For Windows, include .exe + # + #cwebpPath: /usr/bin/cwebp + #dwebpPath: /usr/bin/dwebp + + # use-generated-textures: if true, use generated textures (same as client); false is static water/lava textures + # correct-water-lighting: if true, use corrected water lighting (same as client); false is legacy water (darker) + # transparent-leaves: if true, leaves are transparent (lighting-wise): false is needed for some Spout versions that break lighting on leaf blocks + use-generated-textures: true + correct-water-lighting: true + transparent-leaves: true + + # ctm-support: if true, Connected Texture Mod (CTM) in texture packs is enabled (default) + ctm-support: true + # custom-colors-support: if true, Custom Colors in texture packs is enabled (default) + custom-colors-support: true + + # Control loading of player faces (if set to false, skins are never fetched) + #fetchskins: false + + # Control updating of player faces, once loaded (if faces are being managed by other apps or manually) + refreshskins: true + + # Customize URL used for fetching player skins (%player% is macro for name, %uuid% for UUID) + # skin-url: "http://skins.minecraft.net/MinecraftSkins/%player%.png" + + # Enable skins via SkinsRestorer plugin instead of internal legacy implementation (disabled by default) + #skinsrestorer-integration: true + + render-triggers: + #- playermove + #- playerjoin + - blockplaced + - blockbreak + - leavesdecay + - blockburn + - chunkgenerated + - blockformed + - blockfaded + - blockspread + - pistonmoved + - explosion + #- blockfromto + #- blockphysics + - structuregrow + - blockgrow + #- blockredstone + + # Title for the web page - if not specified, defaults to the server's name (unless it is the default of 'Unknown Server') + webpage-title: "${CFG_DYNMAP_SERVER_NAME}サーバマップ - ギガンティック☆整地鯖" + + # The path where the tile-files are placed. + tilespath: web/tiles + + # The path where the web-files are located. + webpath: web + + # If set to false, disable extraction of webpath content (good if using custom web UI or 3rd party web UI) + # Note: web interface is unsupported in this configuration - you're on your own + update-webpath-files: false + + # The path were the /dynmapexp command exports OBJ ZIP files + exportpath: export + + # The path where files can be imported for /dmarker commands + importpath: import + + # The network-interface the webserver will bind to (0.0.0.0 for all interfaces, 127.0.0.1 for only local access). + # If not set, uses same setting as server in server.properties (or 0.0.0.0 if not specified) + #webserver-bindaddress: 0.0.0.0 + + # The TCP-port the webserver will listen on. + webserver-port: 80 + + # Maximum concurrent session on internal web server - limits resources used in Bukkit server + max-sessions: 256 + + # Disables Webserver portion of Dynmap (Advanced users only) + disable-webserver: true + + # Enable/disable having the web server allow symbolic links (true=compatible with existing code, false=more secure (default)) + allow-symlinks: true + + # Enable login support + login-enabled: false + # Require login to access website (requires login-enabled: true) + login-required: false + + # Period between tile renders for fullrender, in seconds (non-zero to pace fullrenders, lessen CPU load) + timesliceinterval: 0.0 + + # Maximum chunk loads per server tick (1/20th of a second) - reducing this below 90 will impact render performance, but also will reduce server thread load + maxchunkspertick: 200 + + # Progress report interval for fullrender/radiusrender, in tiles. Must be 100 or greater + progressloginterval: 100 + + # Parallel fullrender: if defined, number of concurrent threads used for fullrender or radiusrender + # Note: setting this will result in much more intensive CPU use, some additional memory use. Caution should be used when + # setting this to equal or exceed the number of physical cores on the system. + #parallelrendercnt: 4 + + # Interval the browser should poll for updates. + updaterate: 2000 + + # If nonzero, server will pause fullrender/radiusrender processing when 'fullrenderplayerlimit' or more users are logged in + fullrenderplayerlimit: 0 + # If nonzero, server will pause update render processing when 'updateplayerlimit' or more users are logged in + updateplayerlimit: 0 + # Target limit on server thread use - msec per tick + per-tick-time-limit: 50 + # If TPS of server is below this setting, update renders processing is paused + update-min-tps: 18.0 + # If TPS of server is below this setting, full/radius renders processing is paused + fullrender-min-tps: 18.0 + # If TPS of server is below this setting, zoom out processing is paused + zoomout-min-tps: 18.0 + + showplayerfacesinmenu: true + + # Control whether players that are hidden or not on current map are grayed out (true=yes) + grayplayerswhenhidden: true + + # Use player permissions to order player list: first to last, players are ordered by first permission listed that they have + # That is, anyone with first listed permission goes before anyone with second, etc, with users with none of the nodes going last + player-sort-permission-nodes: + - bukkit.command.op + + # Set sidebaropened: 'true' to pin menu sidebar opened permanently, 'pinned' to default the sidebar to pinned, but allow it to unpin + #sidebaropened: true + + # Customized HTTP response headers - add 'id: value' pairs to all HTTP response headers (internal web server only) + #http-response-headers: + # Access-Control-Allow-Origin: "my-domain.com" + # X-Custom-Header-Of-Mine: "MyHeaderValue" + + # Trusted proxies for web server - which proxy addresses are trusted to supply valid X-Forwarded-For fields + # This now supports both IP address, and subnet ranges (e.g. 192.168.1.0/24 or 202.24.0.0/14 ) + trusted-proxies: + - "127.0.0.1" + - "0:0:0:0:0:0:0:1" + + # Join/quit message format for web chat: set to "" to disable notice on web UI + joinmessage: "%playername% joined" + quitmessage: "%playername% quit" + + spammessage: "You may only chat once every %interval% seconds." + # format for messages from web: %playername% substitutes sender ID (typically IP), %message% includes text + webmsgformat: "&color;2[Dynmap] %playername%: &color;f%message%" + + # Control whether layer control is presented on the UI (default is true) + showlayercontrol: true + + # Enable checking for banned IPs via banned-ips.txt (internal web server only) + check-banned-ips: true + + # Default selection when map page is loaded + defaultzoom: 2 + defaultworld: world_2 + defaultmap: flat + # (optional) Zoom level and map to switch to when following a player, if possible + #followzoom: 3 + #followmap: surface + + # If true, make persistent record of IP addresses used by player logins, to support web IP to player matching + persist-ids-by-ip: true + + # If true, map text to cyrillic + cyrillic-support: false + + # If true, coordinates will be rounded + round-coordinates: true + + # Messages to customize + msg: + maptypes: "Map Types" + players: "Players" + chatrequireslogin: "Chat Requires Login" + chatnotallowed: "You are not permitted to send chat messages" + hiddennamejoin: "Player joined" + hiddennamequit: "Player quit" + + # URL for client configuration (only need to be tailored for proxies or other non-standard configurations) + url: + # configuration URL + #configuration: "up/configuration" + # update URL + #update: "up/world/{world}/{timestamp}" + # sendmessage URL + #sendmessage: "up/sendmessage" + # login URL + #login: "up/login" + # register URL + #register: "up/register" + # tiles base URL + #tiles: "tiles/" + # markers base URL + #markers: "tiles/" + + # Customization commands - allows scripts to be run before/after certain events + custom-commands: + image-updates: + # Command run just before any image file is written or updated: run with single parameter with fully qualified file name + preupdatecommand: "" + # Command run just after any image file is written or updated: run with single parameter with fully qualified file name + postupdatecommand: "" + + # Snapshot cache size, in chunks + snapshotcachesize: 500 + # Snapshot cache uses soft references (true), else weak references (false) + soft-ref-cache: true + + # Player enter/exit title messages for map markers + # + # Processing period - how often to check player positions vs markers - default is 1000ms (1 second) + #enterexitperiod: 1000 + # Title message fade in time, in ticks (0.05 second intervals) - default is 10 (1/2 second) + #titleFadeIn: 10 + # Title message stay time, in ticks (0.05 second intervals) - default is 70 (3.5 seconds) + #titleStay: 70 + # Title message fade out time, in ticks (0.05 seocnd intervals) - default is 20 (1 second) + #titleFadeOut: 20 + # Enter/exit messages use on screen titles (true - default), if false chat messages are sent instead + #enterexitUseTitle: true + # Set true if new enter messages should supercede pending exit messages (vs being queued in order), default false + #enterReplacesExits: true + + # Published public URL for Dynmap server (allows users to use 'dynmap url' command to get public URL usable to access server + # If not set, 'dynmap url' will not return anything. URL should be fully qualified (e.g. https://mc.westeroscraft.com/) + #publicURL: http://my.greatserver.com/dynmap + + # Send this message if the player does not have permission to use the command + noPermissionMsg: "You don't have permission to use this command!" + + # Set to true to enable verbose startup messages - can help with debugging map configuration problems + # Set to false for a much quieter startup log + verbose: false + + # Enables debugging. + #debuggers: + # - class: org.dynmap.debug.LogDebugger + # Debug: dump blocks missing render data + dump-missing-blocks: false + + # Have dynmap migrate old chunks to the new format for the current MC version (specifically, for migrating pre-1.13 chunks to 1.13 or 1.14). This is needed + # in order to render chunks on an upgraded server (due to various bugs/limitations in CB/spigot 1.13+). This setting is NOT suggested to be enabled full time, + # but only long enough to do a fullrender of a migrated world - it should be turned back off once worlds are migrated). It is EXPERIMENTAL, so be sure to backup + # your worlds before running with this setting enabled (set to true) + # + #migrate-chunks: true + + # Log4J defense: string substituted for attempts to use macros in web chat + hackAttemptBlurb: "(IaM5uchA1337Haxr-Ban Me!)" diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/dynmap-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/dynmap-config.yaml new file mode 100644 index 000000000..85d6bb9bc --- /dev/null +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/dynmap-config.yaml @@ -0,0 +1,244 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: dynmap-config--s1 +data: + # 実際のファイルの中身のフォーマットは yaml だが、ファイル拡張子としては txt + worlds.txt: | + # These are examples of world-specific settings - customize your content as you see fit + # + # NOTES: + # All lines here are commented with the # symbol - delete the # symbol on copied lines you wish to enable + # Definitions of a world made here will superecede any world definition with the same name in configuration.txt + # Deleting this file will result in a fresh copy being produced by dynmap.jar on the next startup. + # + worlds: + - name: world_2 + title: "メイン" + enabled : true + center: + x: 0 + y: 64 + z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: shadows + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: shadows + mapzoomin: 0 + - name: world_SW + title: "整地#1(保護無,自動再生成有)" + enabled : true + center: + x: 0 + y: 64 + z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: shadows + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: shadows + mapzoomin: 0 + - name: world_SW_2 + title: "整地#2(保護有)" + enabled : true + center: + x: 0 + y: 64 + z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: shadows + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: shadows + mapzoomin: 0 + - name: world_SW_3 + title: "整地#3(保護無)" + enabled : true + center: + x: 0 + y: 64 + z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: shadows + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: shadows + mapzoomin: 0 + - name: world_SW_4 + title: "整地#4(保護有)" + enabled : true + center: + x: 0 + y: 64 + z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: shadows + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: shadows + mapzoomin: 0 + - name: world_SW_nether + title: "整地ネザー" + enabled : true + center: + x: 0 + y: 64 + z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: nethershadows + # Map background color (day or night) + background: "#300806" + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: nethershadows + # Map background color (day or night) + background: "#300806" + mapzoomin: 0 + - name: world_SW_the_end + title: "整地・ジ・エンド" + enabled : true + center: + x: 0 + y: 64 + z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: brightnight + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: brightnight + mapzoomin: 0 + - name: world_build + title: "建築" + enabled : true + center: + x: -1500 + y: 64 + z: 1500 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: shadows + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: shadows + mapzoomin: 0 + - name: world_dot + title: "ドット絵" + enabled : true + center: + x: 0 + y: 64 + z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: shadows + # Adjust extra zoom in levels - default is 2 + mapzoomin: 0 + - class: org.dynmap.hdmap.HDMap + name: surface + title: "Surface" + prefix: t + perspective: iso_SE_30_vlowres + shader: stdtexture + lighting: shadows + mapzoomin: 0 diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index e25e4bf41..6d72e513e 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -143,6 +143,9 @@ spec: - name: CFG_COREPROTECT_MYSQL_DATABASE_NAME value: "coreprotect__mc_s1" + - name: CFG_DYNMAP_SERVER_NAME + value: "アルカディア" + - name: RCON_CMDS_STARTUP value: |- mv create world_SW NORMAL @@ -389,6 +392,14 @@ spec: mountPath: /plugins/Join-Leave/config.yml subPath: CustomJoinLeftMessage-config.yml + # DynMap プラグインの設定ファイル + - name: common-dynmap-config + mountPath: /plugins/dynmap/configuration.txt + subPath: dynmap-configuration.txt + - name: dynmap-config--s1 + mountPath: /plugins/dynmap/worlds.txt + subPath: worlds.txt + # SeichiAssist プラグインの設定ファイル - name: seichiassist-config mountPath: /plugins/SeichiAssist/config.yml @@ -451,6 +462,12 @@ spec: - name: common-mcserver-plugin-configs configMap: name: common-mcserver-plugin-configs + - name: common-dynmap-config + configMap: + name: common-dynmap-config + - name: dynmap-config--s1 + configMap: + name: dynmap-config--s1 - name: seichiassist-config configMap: name: seichiassist-config From 3da85e2ba370857e294410b4901cba127f8639f5 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Tue, 17 Sep 2024 00:16:49 +0900 Subject: [PATCH 15/17] feat: add DynMap-Towny config --- .../common-configs/dynmap-config.yml | 95 +++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 3 + 2 files changed, 98 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml index 23464bab3..1ec7a5f47 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml @@ -543,3 +543,98 @@ data: # Log4J defense: string substituted for attempts to use macros in web chat hackAttemptBlurb: "(IaM5uchA1337Haxr-Ban Me!)" + + dynmap-Towny-config.yml: | + version: + # This is the current version. Please do not edit. + version: 1.1.2 + update: + # Seconds between updating Towny information on the dynmap. + period: '300' + layer: + # The name of the Towny layer on dynmap. + name: Towny + # Is the Towny layer hidden by default? + hidebydefault: 'false' + # Ordering priority in layer menu (low goes before high - default is 0) + layerprio: '2' + # (optional) set minimum zoom level before layer is visible (0 = defalt, always visible) + minzoom: '0' + # Requires Player-Info-Is-Protected enabled in dynmap. + player_visibility: + # Allow all residents of a given town to see one another. + visibility-by-town: 'true' + # Allow all residents of a given nation to see one another. + visibility-by-nation: 'true' + townblock_colours: + shops: + # Show shop plots with their own fill colour. + showshops: 'false' + # The colour shops plots are filled with. + fillcolour: '#0000FF' + arenas: + # Show arena plots with their own fill colour. + showarenas: 'false' + # The colour arena plots are filled with. + fillcolour: '#FF00FF' + embassies: + # Show embassy plots with their own fill colour. + showembassies: 'false' + # The colour embassy plots are filled with. + fillcolour: '#00FFFF' + wilds: + # Show wilds plots with their own fill colour. + showwilds: 'false' + # The colour wilds plots are filled with. + fillcolour: '#00FF00' + dynamic_colours: + # Use dynamic nation colors, which are set in-game by individual nations (using /t set mapcolor ) + town_colours: 'true' + # Use dynamic nation colors, which are set in-game by individual nations (using /n set mapcolor ) + nation_colours: 'true' + infowindow: + # Format for town popup. + town_info_window:
%regionname% (%nation%)
Mayor %playerowners%
Associates %playermanagers%
Flags
%flags%
+ # What is shown in the info window's %nation% when a town has no nation. + nonationslug: '' + regionstyle: + strokecolor: '#FF0000' + strokeopacity: '0.8' + strokeweight: '3' + fillcolor: '#FF0000' + fillopacity: '0.35' + boost: 'false' + # Allowed icon names found here: https://github.com/webbukkit/dynmap/wiki/Using-Markers + icons: + homeicon: blueflag + capitalicon: king + outposticon: tower + ruinicon: warning + # Optional setting to limit which regions to show, by name - if commented out, all regions are shown. + # To show all regions on a given world, add 'world:' to the list. + visibleregions: '' + # Optional setting to hide specific regions, by name. + # To hide all regions on a given world, add 'world:' to the list. + hiddenregions: '' + custstyle: + customregion1: + strokecolor: '#00FF00' + y: '64' + customregion2: + strokecolor: '#007F00' + y: '64' + boost: 'false' + nationstyle: + NationOfBlue: + strokecolor: '#0000FF' + fillcolor: '#0000FF' + boost: 'false' + _none_: + homeicon: greenflag + # Chat settings for use with TownyChat. + chat: + sendlogin: 'true' + sendquit: 'true' + format: '&color;2[WEB] %playername%: &color;f%message%' + # The language file you wish to use + language: english.yml diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 6d72e513e..36bca06d3 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -399,6 +399,9 @@ spec: - name: dynmap-config--s1 mountPath: /plugins/dynmap/worlds.txt subPath: worlds.txt + - name: common-dynmap-config + mountPath: /plugins/Dynmap-Towny/config.yml + subPath: dynmap-Towny-config.yml # SeichiAssist プラグインの設定ファイル - name: seichiassist-config From 0ff3c956a0837c584c2e2e23b03eee6c4b694d9f Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Tue, 17 Sep 2024 00:19:01 +0900 Subject: [PATCH 16/17] feat: add DynMap-WorldGuard config --- .../common-configs/dynmap-config.yml | 36 +++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 3 ++ 2 files changed, 39 insertions(+) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml index 1ec7a5f47..f9e9cf421 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml @@ -638,3 +638,39 @@ data: format: '&color;2[WEB] %playername%: &color;f%message%' # The language file you wish to use language: english.yml + + dynmap-WorldGuard-config.yml: | + update: + # Seconds between checks for Residence updates + period: 120 # default: 300 + layer: + name: WorldGuard保護範囲表示 + # Make mobs layer hidden by default + hidebydefault: false + # ordering priority in layer menu (low goes before high - default is 0) + layerprio: 0 + # (optional) set minimum zoom level before layer is visible (0 = defalt, always visible) + minzoom: 0 + use3dregions: false + infowindow:
%regionname%
(%parent%) - %priority%

Owners(保護オーナー)
%playerowners%
%groupowners%

Members(保護メンバー)
%playermembers%
%groupmembers%

Flags(フラグ設定一覧)
%flags%
+ regionstyle: + strokeColor: '#FF0000' + strokeOpacity: 0.5 # default: 0.8 + strokeWeight: 3 + fillColor: '#FF0000' + fillOpacity: 0.3 # default: 0.35 + unownedStrokeColor: '#00FF00' + visibleregions: [] + hiddenregions: [] + custstyle: + customregion1: + strokeColor: '#00FF00' + ownerstyle: + kingoftheworld: + strokecolor: '#C0C0C0' + maxdepth: 16 + updates-per-tick: 20 diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 36bca06d3..6a13e43ed 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -402,6 +402,9 @@ spec: - name: common-dynmap-config mountPath: /plugins/Dynmap-Towny/config.yml subPath: dynmap-Towny-config.yml + - name: common-dynmap-config + mountPath: /plugins/Dynmap-WorldGuard/config.yml + subPath: dynmap-WorldGuard-config.yml # SeichiAssist プラグインの設定ファイル - name: seichiassist-config From d6e53dfb831575d66d155925dc4ac720d604ce03 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Tue, 17 Sep 2024 00:23:06 +0900 Subject: [PATCH 17/17] =?UTF-8?q?fix:=20dynmap-towny=E3=81=AE=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E3=82=92s1=E5=80=8B=E5=88=A5=E3=81=AB=E3=81=99?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common-configs/dynmap-config.yml | 95 ------------------- .../templates/debug-s1/dynmap-config.yaml | 95 +++++++++++++++++++ .../templates/debug-s1/seichiassist.yaml | 4 +- 3 files changed, 97 insertions(+), 97 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml index f9e9cf421..8cc8f7143 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/dynmap-config.yml @@ -544,101 +544,6 @@ data: # Log4J defense: string substituted for attempts to use macros in web chat hackAttemptBlurb: "(IaM5uchA1337Haxr-Ban Me!)" - dynmap-Towny-config.yml: | - version: - # This is the current version. Please do not edit. - version: 1.1.2 - update: - # Seconds between updating Towny information on the dynmap. - period: '300' - layer: - # The name of the Towny layer on dynmap. - name: Towny - # Is the Towny layer hidden by default? - hidebydefault: 'false' - # Ordering priority in layer menu (low goes before high - default is 0) - layerprio: '2' - # (optional) set minimum zoom level before layer is visible (0 = defalt, always visible) - minzoom: '0' - # Requires Player-Info-Is-Protected enabled in dynmap. - player_visibility: - # Allow all residents of a given town to see one another. - visibility-by-town: 'true' - # Allow all residents of a given nation to see one another. - visibility-by-nation: 'true' - townblock_colours: - shops: - # Show shop plots with their own fill colour. - showshops: 'false' - # The colour shops plots are filled with. - fillcolour: '#0000FF' - arenas: - # Show arena plots with their own fill colour. - showarenas: 'false' - # The colour arena plots are filled with. - fillcolour: '#FF00FF' - embassies: - # Show embassy plots with their own fill colour. - showembassies: 'false' - # The colour embassy plots are filled with. - fillcolour: '#00FFFF' - wilds: - # Show wilds plots with their own fill colour. - showwilds: 'false' - # The colour wilds plots are filled with. - fillcolour: '#00FF00' - dynamic_colours: - # Use dynamic nation colors, which are set in-game by individual nations (using /t set mapcolor ) - town_colours: 'true' - # Use dynamic nation colors, which are set in-game by individual nations (using /n set mapcolor ) - nation_colours: 'true' - infowindow: - # Format for town popup. - town_info_window:
%regionname% (%nation%)
Mayor %playerowners%
Associates %playermanagers%
Flags
%flags%
- # What is shown in the info window's %nation% when a town has no nation. - nonationslug: '' - regionstyle: - strokecolor: '#FF0000' - strokeopacity: '0.8' - strokeweight: '3' - fillcolor: '#FF0000' - fillopacity: '0.35' - boost: 'false' - # Allowed icon names found here: https://github.com/webbukkit/dynmap/wiki/Using-Markers - icons: - homeicon: blueflag - capitalicon: king - outposticon: tower - ruinicon: warning - # Optional setting to limit which regions to show, by name - if commented out, all regions are shown. - # To show all regions on a given world, add 'world:' to the list. - visibleregions: '' - # Optional setting to hide specific regions, by name. - # To hide all regions on a given world, add 'world:' to the list. - hiddenregions: '' - custstyle: - customregion1: - strokecolor: '#00FF00' - y: '64' - customregion2: - strokecolor: '#007F00' - y: '64' - boost: 'false' - nationstyle: - NationOfBlue: - strokecolor: '#0000FF' - fillcolor: '#0000FF' - boost: 'false' - _none_: - homeicon: greenflag - # Chat settings for use with TownyChat. - chat: - sendlogin: 'true' - sendquit: 'true' - format: '&color;2[WEB] %playername%: &color;f%message%' - # The language file you wish to use - language: english.yml - dynmap-WorldGuard-config.yml: | update: # Seconds between checks for Residence updates diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/dynmap-config.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/dynmap-config.yaml index 85d6bb9bc..a2f8efe48 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/dynmap-config.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/dynmap-config.yaml @@ -242,3 +242,98 @@ data: shader: stdtexture lighting: shadows mapzoomin: 0 + + dynmap-Towny-config.yml: | + version: + # This is the current version. Please do not edit. + version: 1.1.2 + update: + # Seconds between updating Towny information on the dynmap. + period: '300' + layer: + # The name of the Towny layer on dynmap. + name: Towny + # Is the Towny layer hidden by default? + hidebydefault: 'false' + # Ordering priority in layer menu (low goes before high - default is 0) + layerprio: '2' + # (optional) set minimum zoom level before layer is visible (0 = defalt, always visible) + minzoom: '0' + # Requires Player-Info-Is-Protected enabled in dynmap. + player_visibility: + # Allow all residents of a given town to see one another. + visibility-by-town: 'true' + # Allow all residents of a given nation to see one another. + visibility-by-nation: 'true' + townblock_colours: + shops: + # Show shop plots with their own fill colour. + showshops: 'false' + # The colour shops plots are filled with. + fillcolour: '#0000FF' + arenas: + # Show arena plots with their own fill colour. + showarenas: 'false' + # The colour arena plots are filled with. + fillcolour: '#FF00FF' + embassies: + # Show embassy plots with their own fill colour. + showembassies: 'false' + # The colour embassy plots are filled with. + fillcolour: '#00FFFF' + wilds: + # Show wilds plots with their own fill colour. + showwilds: 'false' + # The colour wilds plots are filled with. + fillcolour: '#00FF00' + dynamic_colours: + # Use dynamic nation colors, which are set in-game by individual nations (using /t set mapcolor ) + town_colours: 'true' + # Use dynamic nation colors, which are set in-game by individual nations (using /n set mapcolor ) + nation_colours: 'true' + infowindow: + # Format for town popup. + town_info_window:
%regionname% (%nation%)
Mayor %playerowners%
Associates %playermanagers%
Flags
%flags%
+ # What is shown in the info window's %nation% when a town has no nation. + nonationslug: '' + regionstyle: + strokecolor: '#FF0000' + strokeopacity: '0.8' + strokeweight: '3' + fillcolor: '#FF0000' + fillopacity: '0.35' + boost: 'false' + # Allowed icon names found here: https://github.com/webbukkit/dynmap/wiki/Using-Markers + icons: + homeicon: blueflag + capitalicon: king + outposticon: tower + ruinicon: warning + # Optional setting to limit which regions to show, by name - if commented out, all regions are shown. + # To show all regions on a given world, add 'world:' to the list. + visibleregions: '' + # Optional setting to hide specific regions, by name. + # To hide all regions on a given world, add 'world:' to the list. + hiddenregions: '' + custstyle: + customregion1: + strokecolor: '#00FF00' + y: '64' + customregion2: + strokecolor: '#007F00' + y: '64' + boost: 'false' + nationstyle: + NationOfBlue: + strokecolor: '#0000FF' + fillcolor: '#0000FF' + boost: 'false' + _none_: + homeicon: greenflag + # Chat settings for use with TownyChat. + chat: + sendlogin: 'true' + sendquit: 'true' + format: '&color;2[WEB] %playername%: &color;f%message%' + # The language file you wish to use + language: english.yml diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 6a13e43ed..c7edf9698 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -399,8 +399,8 @@ spec: - name: dynmap-config--s1 mountPath: /plugins/dynmap/worlds.txt subPath: worlds.txt - - name: common-dynmap-config - mountPath: /plugins/Dynmap-Towny/config.yml + - name: dynmap-config--s1 + mountPath: /plugins/Dynmap-WorldGuard/config.yml subPath: dynmap-Towny-config.yml - name: common-dynmap-config mountPath: /plugins/Dynmap-WorldGuard/config.yml