File Details
TownsAndNations-0.1.0.jar
- R
- Feb 24, 2026
- 3.01 MB
- 38
- Early Access
File Name
TownsAndNations-0.1.0.jar
Supported Versions
- Early Access
# ๐ CHANGELOG - TownsAndNations
## Version 0.1.0 (Current Release)
### ๐จ GUI Interface - Complete Modernization
#### New Design System
- โจ **Created `Styles.ui`** - Centralized reusable styles file
- Professional color palette (Primary, Secondary, Accent, Success, Danger)
- 6 button styles (`@ButtonPrimary`, `@ButtonSecondary`, `@ButtonAccent`, etc.)
- 5 text styles (Title, Subtitle, Heading, Body, Label)
- Consistent background colors (`@ColorBgDark`, `@ColorBgCard`)
- ๐งญ **Created `NavBar.ui`** - Reusable horizontal navigation bar
- Navigation between Dashboard, Members, Bank, Plots, Nation, Browse
- Settings option visible only for mayor
- Modern design with hover effects
#### Modernized Pages
- โ
**TownMenuPage.ui** - Redesigned main dashboard
- Card-based display system
- Town statistics grid
- "No Town" section for players without a town
- Quick Actions for rapid access
- โ
**MayorMenuPage.ui** - Enhanced mayor interface
- Organized two-column layout
- Sections: Territory Management, Town Settings, Commands, Plots Info
- Danger Zone for critical actions (red background)
- โ
**BrowseTownsPage.ui** - Town browsing interface
- Search bar and filter system
- Available towns list
- Hints section for instructions
- โ
**CreateTownPage.ui** - Modern town creation
- Simplified form in a single card
- Clear cost display
- Integrated error messages
#### GUI Documentation
- ๐ **GUI_MODERNIZATION.md** - Complete technical documentation
- ๐ **GUI_README.md** - System overview
- ๐ **MIGRATION_GUIDE.md** - Migration guide for remaining pages
- ๐ **Commands.md** - Complete command list in French
### ๐บ๏ธ Map System (WorldMap)
- ๐ **Ready minimap infrastructure**
- Town chunk display on map
- Customizable colors (RGB + transparency) via `/town mayor setcolor`
- Temporary border system (60s) with `/town mayor showborder`
- `TownsMapProvider.json` configuration created
- Awaiting official Hytale WorldMapManager API
### ๐๏ธ Plot System
- ๐ **Standardized dimensions**: 32x32 blocks per chunk
- ๐ **Home Spawn system per plot**
- `/town home` - Teleport to town spawn
- `/town mayor sethome` - Set town spawn
- ๐ฐ **Sale system**
- `/town mayor plot forsale <price>` - Put on sale
- `/town plot buy` - Buy a plot
- `/town mayor plot reclaim` - Reclaim a plot
- ๐ฅ **Trust system**
- `/plot trust add <player>` - Add trusted player
- `/plot trust remove <player>` - Remove trust
- `/plot trust list` - List trusted players
- Per-plot permission management
- ๐ **Management**
- `/town plot list` - List all plots
- `/town plot myplots` - View own plots
- Fixed chunk coordinate system
### ๐๏ธ Nation System
- ๐ **Nation interface created**
- GUI menu for nations
- Visual management of member towns
- Invitation system
- ๐ **Governance**
- `/nation create <name>` - Create a nation
- `/nation minister add/remove <player>` - Manage ministers
- `/nation invite <town>` - Invite a town
- `/nation info [nation]` - Nation information
### ๐ Permission System
- ๐ **LuckPerms integration**
- LuckPerms support as permission provider
- Role-based permissions (mayor, deputy, citizen)
- Permissions for town and plot commands
- Default permissions configuration
### ๐พ Storage and Configuration
- ๐ **Flexible storage system**
- JSON support (default)
- MySQL support with connection pool
- Configurable auto-save
- SQL prefix: `townsandnations_`
- โ๏ธ **Configuration files**
- `config.yml` - Main configuration
- `schema.sql` - Database structure
- `manifest.json` - Plugin metadata
### ๐ Internationalization
- ๐ฌ๐ง **English** (`en_US.properties`) - Complete language
- ๐ซ๐ท **French** (`fr_FR.properties`) - Complete translation
- ๐ **Translation cleanup**
- PowerShell script `check-translations.ps1` to verify keys
- `unused-language-keys.txt` report for unused keys
- Modernized GUI translations
### ๐ฆ Economy and Bank
- ๐ฐ **Town bank system**
- `/town bank deposit <amount>` - Deposit
- `/town mayor withdraw <amount>` - Withdraw (mayor only)
- GUI interface with quick amount buttons
- Real-time balance display
- ๐ต **Configurable costs**
- Town creation (free by default)
- Nation creation (configurable)
- Chunk claim/unclaim with refund
- Plot prices set by mayor
### ๐ฅ Member Management
- ๐จ **Invitation system**
- `/town mayor invite <player>` - Invite
- `/town accept` - Accept invitation
- GUI interface for invitation management
- ๐ **Roles and hierarchy**
- Mayor (town creator)
- Deputies (`/town mayor deputy add/remove`)
- Citizens
- Kick system: `/town mayor kick <player>`
### โ๏ธ PVP and Protection
- ๐ก๏ธ **Complete protections**
- Build protection
- Break protection
- Use protection (chests, doors, etc.)
- Configurable PVP protection per town
- โ๏ธ **PVP Toggle**: `/town mayor togglepvp` - Enable/disable
### ๐ง Development and Build
- ๐๏ธ **Gradle configuration**
- Updated to latest Gradle version
- `build.gradle` and `build.gradle.kts` configuration
- Java 25 support
- Building against Hytale 2026.02.18-f3b8fff95
- ๐ฆ **Project structure**
- Modular code organization
- Separated resources (Common, Server)
- Javadoc generation
- Shadow JAR build system
### ๐ Command System
- ๐ฅ๏ธ **Complete command overhaul**
- Town commands: `/town <action>`
- Mayor commands: `/town mayor <action>`
- Plot commands: `/town plot <action>` and `/plot <action>`
- Nation commands: `/nation <action>`
- Command logging for debugging
### ๐ Bug Fixes
- โ
Fixed command variables
- โ
Fixed permissions
- โ
Fixed chunk coordinates
- โ
Fixed plot height
- โ
Fixed NavBar for mayor
- โ
Fixed translations
- โ
Fixed UI (2 passes)
- โ
Cleaned up code and unused UIs
### ๐ License
- ๐ Added LICENSE file to project
---
## ๐ Project Statistics
- **Current version**: 0.1.0
- **Modernized GUI pages**: 4/14 (28%)
- **Supported languages**: 2 (EN, FR)
- **Commits**: 40+
- **Last Hytale update**: 2026.02.18
---
## ๐ Core Features
โ
Complete towns and nations system
โ
Chunk management (claim/unclaim)
โ
Plot system with sales
โ
Town bank
โ
Permissions and roles
โ
Modern GUI interface
โ
Complete zone protection
โ
Integrated economy
โ
Minimap with customizable colors
โ
Multi-language (EN/FR)
---
## ๐ Upcoming Features
The following GUI pages are planned for modernization:
- [ ] MembersPage.ui
- [ ] BankPage.ui
- [ ] PlotsPage.ui
- [ ] TownInfoPage.ui
- [ ] NationMenuPage.ui
- [ ] CreateNationPage.ui
- [ ] NationTownsPage.ui
- [ ] InvitationsPage.ui
- [ ] LeaveTownConfirmPage.ui
- [ ] PlaceholderPage.ui
---
## ๐ Commit History Summary
Recent development activity includes:
- Fix NavBar mayor and add LICENSE file
- UI updates and modernization
- Translation cleanup and fixes
- Town display on map
- WorldMap integration
- Plot system improvements (32x32, height fixes, SetPos)
- Map overlay testing
- Nation UI addition
- Home spawn functionality
- Input fields for town creation and bank
- Commands list documentation
- 0.1.0 Release
- Town invite UI
- MiniMap testing
- LuckPerms integration
- Permissions fixes
- Plugin rename and UI updates
- UI pages creation
- UI testing phase
- Command logging
- Permissions management for town and plot commands
- Plot system implementation
- Plot home and sale fixes
- Chunk coordinate fixes
- GUI translation additions
- Menu GUI implementation
- Commands rework
- Initial commit
---
This plugin is under active development and continues to evolve with new features coming soon! ๐ฎ