Comments (3)
This is Bungeecord, split the lines at the colour and send two messages.
from skungee.
I can't determine the string colours either without grabbing the initial string non colour formatted.
You however can determine the colour and length since you have management over the initial input string non coloured. You will need to read the &
keys and length appropriately.
You may also use Skungee messages, the evaluate effect from Skungee or setting of variables to execute multiple line balance. Usage of Skungee message system or evaluate will be determined via Bukkit, and Bukkit has a system to place colours and lines correctly from NMS
from skungee.
Oh, okey. But I cannot Split lines with a system of private messages for example. I cannot know in what moment the line is going to return to the line given that it is the player him even who brings in his message, and given that it depends on the size of the chat of the client also.
Example:
command /mp <text> <text>:
trigger:
message "&c%player% &d&l> &c%arg-1%&7: &a%arg-2%" to bungeecord player "%arg-1%"
I can do like this:
command /mp <text> <text>:
trigger:
set {_arg} to arg-2
replace all "" with "§a" in {_arg}
message "&c%player% &d&l> &c%arg-1%&7: &a%{_arg}%" to bungeecord player "%arg-1%"
But when a word is too long the first character after the line break is white :/ http://prntscr.com/lgvtkr
Has you a solution there to detect when the message skips a line ? Thanks for the help.
from skungee.
Related Issues (20)
- [ServerSocket couldn't be created on port: 57921] HOT 2
- Skunge 1.15 only only one works network variable HOT 3
- How to install skungee on your minecraft server HOT 1
- Error Network Variable HOT 1
- Error in console HOT 2
- Error in console while using "online/not online" statement HOT 1
- After trying to save network variable all skungee function froze HOT 4
- Broadcast message
- Executing commands in bungee doesnt work HOT 1
- There was no socket found or was denied access at localhost:6969 HOT 14
- signal bug
- When my server start, skungee event not works but when I /sk reload, all works. HOT 1
- Error
- not connecting people HOT 1
- Skungee doesn't work HOT 2
- Client doesnt connect
- ㅤ
- The latest version does not work, sk reports an error, no wiki.hub is unclear
- Can't understand this condition: 'server "hub" is online'
- skungee loading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skungee.