ServerLinks is a Bukkit/Spigot plugin that allows server administrators to add custom commands that link to external websites such as Discord, a shop, or any other URL. The links are easily configurable via the config.yml file, where administrators can specify messages for each command. The plugin supports color formatting through the ForestMC ColorAPI, including gradients, RGB hex, and classic Minecraft color codes.
- Customizable commands for linking to external websites.
- Supports advanced color formatting (gradient, RGB, and classic Minecraft colors).
- Easy to use configuration via
config.yml. - Dynamic command generation based on the configuration.
- Reload configuration with
/slreloadcommand.
- Download the
ServerLinks.jarfile. - Place the
.jarfile in your server'spluginsfolder. - Restart your server to generate the
config.yml. - Edit the
config.ymlfile to add your custom links and messages. - Reload the plugin or restart the server to apply the changes.
The configuration is stored in config.yml. Here you can define custom commands and their associated messages. You can use advanced color formatting as follows:
- Gradient: {#hex1>}Text{#hex2<}
- RGB Hex: {#hex}
- Classic Colors: &color-code
Example configuration:
commands:
discord: "{#ff0000>}https://discord.gg/xxxxxxxxxx{#00ff00<}"
website: "{#ff3333}https://example.com"
shop: "&bhttps://shop.example.com"
/slreload: Reloads the configuration (config.yml). Requiresserverlinks.reloadpermission.
serverlinks.reload: Allows players with this permission to use the/slreloadcommand. Default: OP.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please feel free to submit a pull request. Please ensure that your changes align with the overall functionality and style of the plugin.
- EtmisTheFox