#Rotating Flag - Minecraft Rotating Flag Plugin
A simple Minecraft plugin for creating automatically rotating flags at specified positions.
##Functional characteristics
-Create a rotating flag of specified color at any position -The flag automatically rotates once every 0.15 seconds (default) -Supports all 16 original Minecraft flag colors -Rotation speed can be adjusted through configuration files -Support player, console, and command block usage -Complete permission control and tab auto completion
##Installation
- Copy 'RotationFlag-1.0-SNAPSHOT. jar' to the 'plugins' directory on the server
- Restart or reload the server
- The plugin will automatically generate a configuration file
##Command Usage
###Basic commands
/Rotatingflag<x><y><z><color>[world name]
###Parameter Description -X, y, z: Coordinates for placing the flag (absolute coordinates) -Color: Flag color, supports the following 16 types:
- white, orange, magenta, light_blue, yellow, lime, pink, gray
- light_gray, cyan, purple, blue, brown, green, red, black -[World Name] (optional): Specify the world where the flag will be placed, default: -Player Execution: Player's Current World -Console/Command Block: Main World (can be manually specified)
###Example usage
#Players create red flags in the current world (100, 64, 200)
/rotatingflag 100 64 200 red
#Console creates a blue flag in the main world
/rotatingflag 100 64 200 blue
#Specify the creation of a green flag in the lower world
/rotatingflag -100 70 300 green world_nether
##Permission
-rotatingflag. use - allows the use of the/rotatingflag command
-Default permission: 'op' (administrator only)
##Configuration
Configuration file: plugins/RotatingFlag/config.yml
#Rotation interval (unit: tick, 20 tick=1 second)
#Default value: 3 ticks (approximately 0.15 seconds)
rotation-tick-interval: 3
###Configuration Description -Rotation tick interval: the time interval for flag rotation -The smaller the value, the faster the rotation; the larger the value, the slower the rotation -Suggested range: 1-20 ticks (0.05-1 seconds) -The minimum value is 1 to prevent performance issues
##Overload configuration
When the server is running, the following command can be used to reload the configuration:
/plugman reload RotatingFlag
Or restart the server to make the configuration effective.
##Developer Information
-Plugin Name: RotationingFlag
-Version: 1.0-SNAPSHOT
-Main category: com. lorshancraft. rotatingFlag. rotatingFlag '
-API version: 1.21
##Precautions
When the flag is placed in the position of an existing square, it will fail 2. The flag will automatically stop rotating after being damaged 3. When uninstalling the plugin, all rotating flags will be cleared 4. It is recommended to specify a world name when using the console to ensure correct positioning
##Update log
v1.0-SNAPSHOT
-Initial version, implementing basic flag rotation function -Add configuration system to support custom rotation speed -Support console and command block usage -Add permission control system -Improve Tab auto completion function
