作者:rebot | 分类:模组
Minecraft 版本: 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.7.10 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6
平台: velocity
标签: management social utility
You get to decide what you want on your proxy!
Command Example
# The commands identifier.
info:
# The type of command.
type: "info"
# If the command is enabled.
enabled: true
# The command name.
# In this instance it will let you do /leaf.
name: "leaf"
# The message sent to the player when they run the command.
message:
- "&8&m&l-------&r &a&lLeaf &8&m&l-------"
- "&7"
- "&7Velocity Proxy Plugin"
- "&7Version &f<version>"
- "&7Author &fSmudge"
- "&7"
- "&8&m&l--------------------"
| Command Type | Usage | Description |
|---|---|---|
| message | [name] [player] [message] | Used to message a player. |
| reply | /[name] [message] | Used to reply to the last message. |
| ignore | /[name] [player] | Used to ignore a player. |
| unignore | /[name] [player] | Used to unignore a player. |
| ignorelist | /[name] | Used to list the ignored players. |
| togglemessages | /[name] | Used to toggle your messages. |
| togglespy | /[name] | Used to toggle veiwing other players messages. |
| messagehistory | /[name] [query] | Similar to core protect, it lets you see player's message history. |
| alert | /[name] [message] | Used to send a message to everyone on the server. |
| alertraw | /[name] [json] | Used to send a json message to everyone on the server. Simular to /tellraw |
| chat | /[name] [message] | Used to send a message to a chat. |
| find | /[name] [player] | Used to get infomation about an online player. |
| history | /[name] [player] | Used to get global session history about a player from the database. |
| info | /[name] | Displays a message to the player. |
| inventory | /[name] | Displays a inventory to the player. |
| join | /[name] | Sends a player to a server. |
| list | /[name] | Displays a list of players that are online. This could be a staff list. |
| reload | /[name] | Reloads the entire plugin. Configuration, commands, events, placeholders and variables. |
| report | /[name] | Send a message to a group of players. Commonly used to report bugs to staff. Simular to /helpop |
| send | /[name] [from] [to] | Send a group of players to a server. |
| servers | /[name] | Displays a list of online servers and the amount of players online. |
| teleport | /[name] [player] | Teleport to the server a player is on. |
| variable | /[name] [value] | Set the value of a variable. You can set options for players to pick from. |
And more! All command types are listed in the wiki. If you have any suggestions, feel free to create a feature request in the GitHub issues page or message me directly in the discord.
You can create custom events.
Currently there is only a option for when a player joins the proxy.
This allows you to do load balancing, and send players to the server with the least amount of players on.
load_balancing:
# The type of event.
type: "playerjoin"
# Used to enable and disable the event.
# Defaults to true.
enabled: false
# Add commands to be run.
commands:
- "leaf"
# Add servers to be sent to.
# If more than 1 server is stated the player will
# go to the server with the least amount of players
servers:
- "hub1"
- "hub2"
You can create your own conditional placeholders that you can use elsewhere in the plugin.
vanish_colour:
condition: "MATCH:<vanished>"
options:
true: "&#c0fce6"
false: "&#ffffee"
When the database is enabled, you can use variables to store data for each player.
When you have created a variable in the configuration, you can then create a command for players to set the variable. This enables you to used the variable as a placeholder in other commands and inventories.
Example
# The variable identifier.
# Example: <theme> will return the string data that is set for the player.
theme:
# The default value if the variable is not set.
default: "green"
请登录后举报
暂无评论,抢个沙发吧~