Pin Plugin

Status
This thread has been locked.

Lesbians

Vouch King
Banned
Feedback score
8
Posts
477
Reactions
165
Resources
0
I'm looking for a plugin for my Network so when a new staff member would join they will have to do /setpin [PIN] and when a older staff member that joins they do /pin [PIN] so people hack there account's they can't grief and that.​
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

sistem21

Feedback score
1
Posts
322
Reactions
26
Resources
0
Add me on skype at @napolissimo1926 or telegram: sistem21, can do this for a cheap price ;)

Lesbians
 

STUDIOZ3RO

Business Owner
Premium
Feedback score
8
Posts
664
Reactions
237
Resources
0
This is a good idea
 

Tyler

Developer
Supreme
Feedback score
14
Posts
2,589
Reactions
2,238
Resources
0
Just use a plugin like authme
 

abstraq

Premium
Feedback score
0
Posts
80
Reactions
33
Resources
0
If anyone charges you for this they are scamming you unless you want to hash the pins.
 

STUDIOZ3RO

Business Owner
Premium
Feedback score
8
Posts
664
Reactions
237
Resources
0

abstraq

Premium
Feedback score
0
Posts
80
Reactions
33
Resources
0
Would you be able to do this?

I don't play minecraft anymore I'm just here to sell my old server but here is some pseudo code

Code:
Boolean onCommand(){
if passwordfile.getString(p.getUUID()).equalsignorecase(args[0]){
return;
}else{
p.kickplayer();
}
}
 

Fire

Always DM me here before dealing via Discord.
Supreme
Feedback score
74
Posts
3,045
Reactions
1,745
Resources
0
I don't play minecraft anymore I'm just here to sell my old server but here is some pseudo code

Code:
Boolean onCommand(){
if passwordfile.getString(p.getUUID()).equalsignorecase(args[0]){
return;
}else{
p.kickplayer();
}
}
Not quite as simplemas that. The OP will also likely want some sort of custom char message asking the user to enter the pin and also stop the player from moving and running any other command, before using the pin. Its a plugin worth a few $.
 

abstraq

Premium
Feedback score
0
Posts
80
Reactions
33
Resources
0
Not quite as simplemas that. The OP will also likely want some sort of custom char message asking the user to enter the pin and also stop the player from moving and running any other command, before using the pin. Its a plugin worth a few $.

Code:
p.SendMessage("supah advanced");

PlayerMoveEvent e
if(unverified.contains(e.getPlayer().getName()){
E.setcancelled(true);
}

PlayerCommandPreprocessEvent e
if(unverified.contains(e.getPlayer().getName() && !command.getname().equalsignorecase("pin")){
E.setcancelled(true);
}
 

Shadow

Dev
Premium
Feedback score
2
Posts
424
Reactions
308
Resources
0
Code:
p.SendMessage("supah advanced");

PlayerMoveEvent e
if(unverified.contains(e.getPlayer().getName()){
E.setcancelled(true);
}

PlayerCommandPreprocessEvent e
if(unverified.contains(e.getPlayer().getName() && !command.getname().equalsignorecase("pin")){
E.setcancelled(true);
}
Then you also have to add them to the unverified list based on rank.
 

STUDIOZ3RO

Business Owner
Premium
Feedback score
8
Posts
664
Reactions
237
Resources
0
Code:
OnJoin()
if(p.hasPermission("login.staff"){
unverified.add(p.getName());
}
Any other tough questions?
Yah i have a tough question how do i become successful in life?
 

Shadow

Dev
Premium
Feedback score
2
Posts
424
Reactions
308
Resources
0
not his job. He gave out the simple, free code online and did his part.
I don't get why he posted the code in the thread instead of compiling it for the OP.
 

CODEHIGH

Java Developer
Premium
Feedback score
0
Posts
120
Reactions
40
Resources
0
This should be free, don't pay someone for a project like this, unless your going to be reading from databases such as MySQL or you want to encrypt pins.
 

Hunting_Potato

Developer
Deactivated
Feedback score
11
Posts
745
Reactions
425
Resources
0

Lesbians

Vouch King
Banned
Feedback score
8
Posts
477
Reactions
165
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/lesbians-scam-report.153206/)
Status
This thread has been locked.
Top