opac-team-claims-neoforge-1.21.1-v1.4.0
Curse Maven Snippet
What's new
Open Parties and Claims 0.32.7 for Minecraft 1.21.1, with Team Claims 1.4.0
New since 1.3.0:
- Hub screen on the P key (new key binding "Open Parties and Claims Hub"; P is also vanilla's "Social Interactions" key: while both are on P, P opens the hub, rebind Social Interactions in Controls to use it). Tabs: Party (the party screen of 1.3.0), Claims, Team and Admin.
- Claims tab: a chunk grid around you in the claim colours. Click or drag to select, then claim, unclaim, forceload or unforceload; hover for owner, claim name and forceload state; budget lines. The "Claim as: Private / Team" button decides who owns what you claim and also what Xaero's World Map "Claim Selected" claims.
- Team tab: team name, team budget (bonus included) and the over-limit countdown, the roles for claim, unclaim and forceload, your own territory-message switch, convert to team and to personal with a radius and a confirmation, the Private / Team switch, and a button to the team's protection and appearance settings. The roles and the settings are editable for the party owner and admins and read-only for everybody else; the server enforces it as before.
- Admin menu (permission level 2 or the permission node xaero.pac_admin_menu): every number, on/off, choice and text option of OPAC's server config and of the Team Claims server config, with search, a restart badge and the "after restart" value; the bonus claims, bonus forceloads, bonus anchors and bonus anchor range of players; the bonus of teams. List options (protection lists etc.) stay toml-only. Restart-only options are written to the toml and take effect after a restart, all others apply at once. Every change is logged in the server log. The server checks every request.
- Team bonus: a per-team bonus of team claims and team forceloads on top of the formula, also below teamClaimsMinMembers. Stored as optional fields bonusClaims and bonusForceloads in the team JSON. New command /teamclaims bonus <team> [claims|forceloads <n>]. Lowering a bonus can start the over-limit deadline.
- Fix: the member rows of the party screen keep their place when a rank changes (they were sorted by rank, so the clicked member moved to another row).
- New automated game tests on both loaders for the hub logic, the admin permission, the config registry (live and restart-only writes), the team and player bonus and the new packets.
IMPORTANT when updating from 1.3.0: update the server AND every client together. The network version changed (7 to 7001, NeoForge protocol 1.11.0-teamclaims.1) and the hub and the admin menu use ten new packets (ids 104-113), so a 1.3.0 client cannot join a 1.4.0 server and a 1.4.0 client cannot join a 1.3.0 server. Existing worlds load as they are: nothing is unclaimed, and the team files only get the bonus fields for teams that have a bonus. The party key is now P (a new key binding, the old O binding is gone). Make a backup first, as always.
This mod has no additional files

