Coder Social home page Coder Social logo

Comments (5)

mrfloris avatar mrfloris commented on August 22, 2024

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.

CloudeLecaw avatar CloudeLecaw commented on August 22, 2024

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.

bobhenl avatar bobhenl commented on August 22, 2024

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.

mrfloris avatar mrfloris commented on August 22, 2024

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.

Zrips avatar Zrips commented on August 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.