Hytale.Global Plugin v1.0.1
IMPORTANT - CONFIG UPDATE
If you're updating from a previous version:
1. Back up your currentconfig.yml
2. Deleteconfig.ymlfrommods/Hytale_Global/
3. Restart your server to generate new config
4. Copy your old settings (API key, etc.) into the new config
What's New
✓ /vote Command
Players can now type/voteto see your server's voting link with a customizable colored message.
✓ Fixed Color Codes
Color codes (&a,&e, etc.) now properly display in-game using Hytale's native color system.
✓ Fixed Newlines
Use\nin your config messages to create multiple lines.
✓ New Config Options
vote_url- Your server's hytale.global page URLvote_command_message- Message shown when players type /vote
Config Example
Code:voting: enabled: true port: 8192 server_name: "My Server" vote_url: "https://hytale.global/server/your-server-slug" vote_command_message: "&aVote for &e{server_name}&a and earn rewards!\n&7Click here: &b{vote_url}" message: "&aThanks for voting, &e{player}&a!" rewards: - command: "broadcast &e{player} &7voted!"
Commands
/vote- Shows voting link to players/hytaleglobal reload(or/hg reload) - Reload config
Placeholders
{player}- Player's username{server_name}- Your server name{vote_url}- Your vote URL (in /vote command only)
