https://github.com/foxfirecodes/StaffLogin
Forces staff to have to log in before they can move or do anything.
https://github.com/foxfirecodes/StaffLogin
Last synced: 11 months ago
JSON representation
Forces staff to have to log in before they can move or do anything.
- Host: GitHub
- URL: https://github.com/foxfirecodes/StaffLogin
- Owner: foxfirecodes
- Created: 2017-01-23T21:18:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-13T17:56:10.000Z (almost 9 years ago)
- Last Synced: 2025-02-21T10:43:53.128Z (about 1 year ago)
- Language: Java
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StaffLogin
Forces staff to have to log in before they can move or do anything. Staff members are determined as any users with the `StaffLogin.require` permission. In addition, all the commands require `StaffLogin.require`.
Players are logged _out_ either when they disconnect from the server or when they do `/logout`. The following things are prevented while a staff member is logged out:
- Movement
- Block breaking
- Block placing
- Interaction (left-click, right-click, pressure-plates, etc.)
- Bucket use
- Dropping items
- Clicking inventory slots (buggy in creative-mode, blame Mojang)
- Crafting items
- Executing commands (other than `/login`, `logout`, and `/password`)
Some of them might seem like overkill, considering it _should_ be impossible to craft items if you can't click your inventory slots, and you can't use a bucket if you can't interact. This is probably true, but it doesn't hurt to be too safe. Who knows what odd stuff might happen with hacked-clients and such :D
_This plugin was done as a request for the **HydrusPvP** server._
## Installation
Just grab the latest JAR off of the [releases page](https://github.com/Rayzr522/StaffLogin/releases)! It's that easy.
## Commands
### `/login`
Permission: `StaffLogin.require`
Usage: `/login `
Description: Logs you in if you have set up a password.
### `/logout`
Permission: `StaffLogin.require`
Usage: `/logout`
Description: Logs you out.
### `/password`
Permission: `StaffLogin.require`
Usage: `/password `
Description: Sets your password. If you already have a password, it requires you to be logged in to change it.
### `/passwordreset`
Permission: `StaffLogin.admin`
Usage: `/passwordreset `
Description: Resets the password of a player and logs them out. They will have to use `/password` to set a new password.