This is able to use in both Velocity and Spigot.
But this is created for myself for my server.
So this plugin is maybe good for plugin developers.
Freely to Edit!
You can create image map from url like this:
If you choose 0 or 1, you can 1×1 imageMap or QR-Code
If you choose 2, you can large size imageMap
You can specified that ratio and background-color like this.
The image is generated accordingly, preserving the aspect ratio of the image
Here is complete large map:
When images are at your disposal, you can do things like this!
You can get this when you visit fmc server. For example, you can get imageMap created like above.
Not only that but, there are server menu that can start or stop server or read online status, players, and teleport requesting menu that you teleport player or invite player by choosing online-player-head.
Forwarding Velocity's command in Spigot
Reloading config
For Velocity Server, Velocity Server notifys Embed's message or plain-text-message under each events.
When server switching, joining, disconnecting like this.
When chatting like this.
This brings an automatic chat conversion Romaji to Kanji like this.
Moving to hub server
After executing, Velocity will be shutdown!
Before being shutdown, discord's embed editing like this.
This enable server to be maintenance mode, which is that for example, it is openable for only Admin who has permission:group.super-admin, others disconnecting.
If arg5 sets "true", server can notify to Discord whether maintenance mode is true or not.
Adding or removing permission written in config.yml by adding or removing permission in mysql database for luckperm MySQL mode.
Getting server status and checking whether you have FMC account from MySQL
In FMC Server, using python script for getting minecrafts' status
Here is python scripts
Moving to specific server as server command
Requesting to let server start-up to Admin through discord like this.
If someone presses YES
button, here will be like this.
Here is minecraft's player chat area.
Let server start by bat file of windows
Only sending "canceled event"
/fmcp conv <add | remove | reload | switch> [<add | remove>:key] [<add>:value] [<add>:<true | false>]
Switching converting type of Romaji to Kanji, reloading romaji.csv from plugins/fmc/romaji.csv
, or adding/removing a theirself word into the csv file that has a lot of maps of conversion romaji to kana.
Switching the way of sending chating message to Discord.
There are Embed editing type or Plane text message type.
Switching debug mode. In details, this is only replacing config value each other. For example, Discord.ChannelId and Debug.ChannelId.
Reloading configuration.
Sockets are enable us to communicate between Velocity and Spigot Servers.
- Communication Available even when players are offline
- Not Java, for example, PHP can be access to it.
<?php
// server address & port
$serverAddress = '127.0.0.1';
$serverPort = 8766;
// create socket and connect
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_connect($socket, $serverAddress, $serverPort);
// send message
socket_write($socket, $message, strlen($message));
// close
socket_close($socket);
This project is licensed under the MIT License, see the LICENSE.txt file for details