Comments (5)
If you stop supporting Minecraft piracy, you can run the server in online-mode true via server.properties and you no longer will have this issue as every uuid is valid.
from cmi.
Hi, I'd like to distinguish the players who are offline & online (premium) ones. I thought that I could do it using %cmi_user_uuid%, as in /cmi info it shows ONLINE & OFFLINE UUID, but the placeholder %cmi_user_uuid% returns only one value. So I'd like to ask if there isn't some variant that will return online & offline separately, as I'd like to compare the values & return if the player is the premium one or not (I'll create own placeholder in javascript extension), as I guess there's no placeholder to determine if the player is premium one in CMI
use %cmi_user_uuid_PlayerName%
in a customalias where using playerName for $1 it could be %cmi_user_uuid_$1%
from cmi.
use
%cmi_user_uuid_PlayerName%
in a customalias where using playerName for $1 it could be%cmi_user_uuid_$1%
Wait, and a bit confused; how does this help me distinguish between online & offline UUID? I mean like if the user is premium or not, not if he's currently online or offline
from cmi.
It's not CMI's job to see who pirated Minecraft or check every UUID against usernames with the end point API.
You probably use a register/login method to make sure that someone claiming who they are is hopefully who they say they are so there's no duplicate accounts. Maybe they offer a way to distinguish
from cmi.
@bobhenl
Due to how online UUID check works we can't really have it as a real placeholder. It needs to be done in Async as it takes some time to get information back from Mojang database, while majority if not all placeholders gets processed in sync. So at the moment we can't really have this type of placeholder
from cmi.
Related Issues (20)
- An error is generated when the /se command is executed on the hanging sign HOT 1
- Broadcast "!" HOT 1
- You can't disable all chat features HOT 9
- dupe bug HOT 2
- Per-world spawns don't function correctly on server startup, fixed after /cmi reload HOT 1
- Placeholders missing HOT 6
- /maxplayers not being set HOT 1
- Jail whitelist command does not work HOT 2
- The "/effect" command partially failed to apply some effects. HOT 1
- You cannot kill an entity HOT 1
- PlayerTeleportEvent HOT 1
- Folia TextDisplay sometimes crash server HOT 1
- Chat Priorities Bug/Question HOT 2
- Totem Colldown HOT 2
- Can not keepinventory HOT 1
- Chat caps cancel event doesn't work 1.8 HOT 1
- Can you disable bans in cmi? HOT 1
- Riptide disappearing from thrown tridents. HOT 1
- Could not pass event ServerCommandEvent to CMI v9.7.4.7 HOT 1
- Type in tpo and it'll crash. HOT 1
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 cmi.