Git Product home page Git Product logo

dreamguest's Introduction

DreamGuest

Dependencies

PermissionsEx
This plugin uses PEX functions that Vault does not provide. I will try to move this dependency over to Vault in the future.

Commands

/who

Permission node: dreamguest.chat.who
Usage: /who
Description: lists all currently online players, sorted by group. Groups are sorted by weight, ascending. If a group does not yet have a weight assigned when this command is run, it gets assigned a weight of one less than the previously lowest weight.

/kick

Permission node: dreamguest.admin.kick
Usage: /kick <target> [reason]
Description: kicks the targeted player from the server. If no reason is provided, the default reason is used (from config.yml)

/ban

Permission node: dreamguest.admin.ban
Usage: /ban <target> [reason]
Description: bans the targeted player from the server. If no reason is provided, the default reason is used (from config.yml). <target> can be either the name of the player or his UUID. If a player is offline, provide the exact player name for him to be banned. Uses default reason if none is provided.

/unban

Permission node: dreamguest.admin.unban
Usage: /unban <target>
Description: unbans the targeted player. <target> can be either name or UUID, name must be exact.

/banreason

Permission node: dreamguest.admin.banreason
Usage: /banreason <target>
Description: retrieves the reason the targeted player was baned for. <target> can be either name or UUID, name must be exact.

/afk

Permission node: dreamguest.chat.afk
Usage: /afk [message]
Description: Sets the player as afk. If no message is specified, it will either be replaced by the default message (if random-afk-messages is set to false), or by a random message from a set list (if random-afk-messages is set to true).

/addafkmessage

Permission node: dreamguest.chat.addafkmessage
Usage: /addafkmessage <message>
Description: Adds an afk message to the list of available afk messages. Only works if random-afk-messages is set to true.

/vanish

Permission node: dreamguest.admin.vanish
Usage: /vanish [target]
Description: Vanishes the targeted player, hiding him from people without the dreamguest.admin.vanish permission. Leave target blank to target yourself.

/dborder

Permission node: dreamguest.border.manage
Usage: /dborder <create|edit|delete|list> <arguments>
Description: Manages borders. Use the command with only the selector to receive usage for the specified selector.

Permission nodes

dreamguest.chat.who - Grants access to /who command
dreamguest.chat.afk - Grants access to /afk command
dreamguest.chat.addafkmessage - Enables user to add afk messages via /addafkmessage

dreamguest.admin.kick - Grants access to /kick
dreamguest.admin.ban - Grants access to /ban
dreamguest.admin.unban - Grants access to /unban
dreamguest.admin.banreason - Grants access to /banreason
dreamguest.admin.vanish - Grants access to /vanish

dreamguest.border.manage - Grants access to /dborder
dreamguest.border.enter.<NAME> - Grants user access to the border with the specified name
dreamguest.border.enderpearl - Allows users to cross borders via Enderpearls

Configuration

The default configuration file:
# whether or not to send metrics to MCStats.org
collect-metrics: true
# List of Placeholders:
# ${no} amount of players
# ${no-1} amount of players minus 1
# ${n} player name
# ${reason} kick / ban reason
# ${admin} source of kick / ban
# --------------------------------------------
# JOIN / LEAVE MANAGER
# accepted placeholders : ${no}, ${no-1}, ${n} 
# --------------------------------------------

join-message: "&8(&7${no}&8) &f${n}&7 joined" leave-message: "&8(&7${no-1}§8) &f${n}&7 left" #only used if player randomly loses connection, for /kick see "KICK / BAN MANAGER" kick-message: "&8(&7${no}&8) &f${n}&4 was kicked out"

--------------------------------------------

KICK / BAN MANAGER

accepted placeholders : ${n}, ${reason}, ${admin}, ${reason}

--------------------------------------------

admin-kick-message: "&8Player &c${n}&8 has been kicked by &c${admin}&8 for: &9${reason}" admin-ban-message: "&8Player &c${n}&8 has been banned by &c${admin}&8 for: &9${reason}" admin-unban-message: "&8Player &c${n}&8 has been unbanned by &c${admin}" admin-banreason-message: "&8Player &c${n}&8 was banned for the reason: &9${reason}" default-reason: asshat

--------------------------------------------

AFK MANAGER

accepted placeholders : ${n}, ${message}

--------------------------------------------

#specify the format you want afk messages to appear in afk-format: "&3${n} &8${message}"

set the default afk message

default-afk-message: "is now afk"

default-return-message: "has returned" #whether you want to use a random afk messages (from the list added by /addafkmessages) or not random-afk-messages: true

#whether AFK status should be removed upon interacting / moving / etc toggle-afk-on-interact: true

dreamguest's People

Contributors

zeboot avatar stianhanssen avatar

Watchers

 avatar

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.