Rotating Flag

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0-SNAPSHOT
本资源为搬运资源,原资源地址: https://modrinth.com/mod/rotating-flag
资源信息

Minecraft 版本: 1.21.11

平台: paper

资源介绍

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

  1. Copy 'RotationFlag-1.0-SNAPSHOT. jar' to the 'plugins' directory on the server
  2. Restart or reload the server
  3. 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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Villager Golem Healer

价格:0 墨喵币
下载量:0

查看详情
Compact Fire

价格:0 墨喵币
下载量:0

查看详情
Modern MAE2

价格:0 墨喵币
下载量:0

查看详情
The Solar System

价格:0 墨喵币
下载量:0

查看详情