CraftBukkitLogin
CraftBukkitLogin
Easy login plugin for your server.
by Vendor05
About/Install
This plugin will restrict players who are not registered.
Just copy the downloaded file to your server plugin folder
and setting up a permission plugin.
Features
- Easy setup
- Easy commands
- Pattern login
- Spigot support
- Language support
- Outlogged restrict
- Outlogged spawn point
- Referral code register
- Global pass register
- Support chat color
- Admin GUI
Restrictions: (for outlogged players)
- Player mobdamage restrict
- Player move restrict
- Player block break restrict
- Player command restrict
- Player item drop restrict
- Player chest open restrict
- Player chat restrict
Commands/Permissions
<Param> <- Parameter
Commands | Description | Permission |
---|---|---|
/login <Password> | You can log in your account. | not need |
/logout | You can log out from your account. | not need |
/register <Password> <RePassword> | You can register a new account. | craftbukkitlogin.register |
/registercode <ReferralCode> <Password> <RePassword> | You can register a new account with a referral code. | craftbukkitlogin.registercode |
/registerpass <GlobalPassword> <Password> <RePassword> | You can register a new account with a global password. | craftbukkitlogin.registerpass |
/changepw <OldPassword> <Password> <RePassword> | You can change your own password. | craftbukkitlogin.changepw |
/pattern /p | You can create a login pattern. | not need |
Admin commands | Description | Permission |
/cbl admin | You can open admin GUI. | craftbukkitlogin.admin |
/cbl logged | You can list all logged in players. | craftbukkitlogin.admin |
/cbl registered | You can list all registered players. | craftbukkitlogin.admin |
/cbl codes | You can list all active referral codes. | craftbukkitlogin.admin |
/cbl createloginspawn | You can create a spawn point for outlogged players. | craftbukkitlogin.admin |
Tutorial
Other
License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
I guess plugin is not open source?
In reply to small_ardinghelli6582824:
Yes, it is currently not open source. I'm not sharing the code yet.
Best regards,
Vendor05
I downloaded the plugin, but it said you do not have permission for this command, and when I typed the command you mentioned, I got the error that your command could not be transmitted.
In reply to pedantic_haibt2935041:
Hi,
Sorry for heard that. Please write what other plugins you use.
And how to configured the permission plugin.
I think easily send more data for this issue in pm.
Thanks for the feedback.
Best regards,
Vendor05
tested this plugin on my server and some players got a bug that tp'ed them back to where they used to be a few minutes ago (after login), like a rollback
In reply to lolsw0rd:
Hi, thanks for the feedback,
This issue came out im my server also, so i figured out what is the problem.
If someone logout sitting in a horse, that cause a login is not happen correctly.
The player need to dismount and login after this.
I will fix this issue in the next release.
Best regards,
Vendor05
I recently got it working on my 1.19.3 server.
However - there seems to be a problem with identifying users with custom prefixes.
In my setup user names are prefixed with the group they belong to. eg.: "[VIP] SomeUser".
Now - when the user is moved to some other group (for example promoted) display name becomes "[Admin] SomeUser" - this plugin doesn't recognize the login data and requires re-registering.
Is it possible to make the mechanism recognize users based on something else than the display name?
In reply to schedar27:
Hi,
I will looking after this problem as soon as possible.
But if you use permisson groups (whit prefixes and permissons) this problem doesn't happened.
Thanks for the feedback.
Vendor05
In reply to Vendor05:
Hm. In my case I use LuckPerms for permissions and prefixes. And as soon as the prefix of a user is changed - such user no longer is recognized as registered and has to re-register.
From what I could notice so far - the plugin uses "org.bukkit.entity.Player.getDisplayName()" for name validation. getDisplayName is useful for chat and userlist (because it contains the prefix). But for validation - maybe you could consider "getName()" or some other entity ID that remains the same all the time (regardless of prefix used)?
Thanks
does it work on 1.19?
1
In reply to 652152:
Hi,
I run it 1.19 paper server version it was work.
Why only OPs can register in the server? Would you help me? I'm really confused with the permissions.
In reply to paulohceccon:
Hi,
I am planning to make a video or description about permissions settings.
does it work on 1.18.1 ?
In reply to iixrage:
Hi,
Yes i tested it for Paper 1.18.1, i dont get any error message.
it does not work, players dont have permissions to use register. :/
how do i give permission to people to register, if they are not op they are unable to register
In reply to punisher_falcon:
Hi,
You need add permission to the default group.
Add a new line -craftbukkitlogin.register permisson to allow users to register.
See the Commands/Permissions section for more permissons.
I hope i helped.
Vendor05
In reply to Vendor05:
i didnt understand?