Sueta

MyBB Link

1.0

Allow players to link their forums profile (You must be using MyBB Forums for this to work)

·Plugin

What does MyBB Link do?
MyBB Link allows server owners to integrate their servers MyBB forums to their Minecraft server. It adds a few commands and allows players to link their profile to their account. It set's the players profile UID (The ID of their forums profile) to a variable which can be used in other Skripts.
How do I set it up?
Change [INSERT YOUR URL HERE!] to your MyBB forums URL in the .sk file (Highlighted below)
upload_2018-2-13_18-33-57.png
and that's it!

How do I use it?
When players use the command /linkmyforums, it set's their UID to a variable, {forumsuid.%player%}. This variable can be used anywhere you want to have a player's forums UID. The options, {@ForumLink} and {@ProfileLink} can be used to insert either your forums URL, or the profile URL (without the UID)

So, "{@ProfileLink}%{forumsuid.%player%}%" would give %player%'s forum profile.
Example
I have recorded an example use case of this Skript:
YouTube
And here is the code for that:

command /mybbexample:
    trigger:
        json("%player%", "&c&lOWNER &7PhilipsHue&f: ||ttp:&aName: &c&lPhilipsHue%nl%&aRank: &c&lOWNER%nl%&aForums: &a&lLinked! Click to visit.||url:{@ProfileLink}%{forumsuid.%player%}%||Hello!")

(This is a chat example but doesn't work as proper chat! I am hoping to recreate a JSON version of @TheJimmyJ57's Chat++ Skript which could be used like the example.
Dependencies
Skript - https://forums.skunity.com/wiki/skript/
JSON.sk - https://www.spigotmc.org/resources/json-sk.8851/

Similar projects

Plugin →