1.09.5latestUpdate 1.09.5Jan 22, 2023 Bugs, bugs, and more bugs. Well, nothing, I'll fix it on the sly =) Briefly about the update: · The problem with MySQL and SQLite has been fixed (in theory) · Now clickable messages and hover text are available on server versions from 1.8 to 1.19.3 · AdventureAPI support has been removed (well, except for places with events from Paper) · Added a convenient (in my opinion) component for working with components from md_5 Examples for those who use the API of this plugin (if there are any): Code (Java): package your.custom.pack ; import net.alis.functionalservercontrol.api.FunctionalApi ; import net.alis.functionalservercontrol.libraries.net.md_5.bungee.api.chat.ClickEvent ; import net.alis.functionalservercontrol.libraries.net.md_5.bungee.api.chat.HoverEvent ; import net.alis.functionalservercontrol.libraries.net.md_5.bungee.api.chat.TextComponent ; import net.alis.functionalservercontrol.spigot.additional.textcomponents.Component ; public class Example { public void sendCoolMessage (Player player ) { FunctionalApi api = FunctionalApi. get ( ) ; if (api != null ) { Component. SimplifiedComponent [ ] components = new Component. SimplifiedComponent [ ] { new Component. SimplifiedComponent ( "" ) } ; TextComponent [ ] components2 = new TextComponent [ ] { new TextComponent ( "" ), new TextComponent ( "" ) } ; Component. SimplifiedComponent simplifiedComponent = new Component. SimplifiedComponent ( ) ; //Creating a lightweight version of TextComponent from md_5 simplifiedComponent . append ( new TextComponent ( "your " ) ) . append ( "custom " ) . append ( " ", components ) // " " - delimiter . append ( " ", components2 ) . setHoverEvent (HoverEvent. Action. SHOW_TEXT, "Some hover text" ) . setClickEvent (ClickEvent. Action. OPEN_URL, "https://vk.com/alphatwo" ) . appendOnStart ( new Component. SimplifiedComponent ( "re " ) ) . appendOnStart ( "He" ) . translateDefaultColorCodes ( ) ; //Correctly replaces color codes (usually when switching to a new line, colors using '§' and '&' do not work) String content = simplifiedComponent. getString ( ) ; //We get the text content of the component TextComponent component = simplifiedComponent. get ( ) ; //We get the original component from md_5 api. getCoreAdapter ( ). expansion ( ). sendMessage (player, simplifiedComponent ) ; //We send the Simplified Component to the player api. getCoreAdapter ( ). expansion ( ). sendMessage (player, component ) ; //We send the original component to the player player. spigot ( ). sendMessage (simplifiedComponent ) ; // <- Does not work player. spigot ( ). sendMessage (component ) ; // <- Does not work } } }1.09.4Fast fix 1.09.4Jan 21, 2023 Quickly fixed a couple of issues with "text is null", also fixed accidentally updated name "FunctionalServerControlSpigot" back to "FunctionalServerControl"1.09.3Update 1.09.3Jan 21, 2023 Another small update: 1. Fixed problem when loading PacketEventsAPI( Author: retrooper) on newer versions 2. Fixed a couple of found bugs 3. Changed the method of blocking commands (in the file commands-limiter.yml) Now the verification method is specified for each command separately! (Method in testing) Example: Code (YAML): global: deny-message : "&cThis command blocked" use-as-whitelist : false group: default : - /commands [checkMode=first_arg ] # If you set unknown check mode, mode "first_arg" will be used - /to # If "[checkMode={mode}" is not specified, mode "first_arg" will be used - /ban ALis [checkMode=all_args ] # If command written here has words length bigger than 1, mode should be "all_args" moder : - /be [checkMode=first_arg ] - /blocked [checkMode=first_arg ]1.09.2Update 1.09.1Jan 20, 2023 Small update: What changed: · Fixed bug with command " /cheatcheck" · Added check for new plugin versions1.09.1Jan 19, 2023 2023-01-18Jan 18, 2023
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta