GithubHelp home page GithubHelp logo

moderatormode's People

Watchers

 avatar  avatar

Forkers

cyberflamego

moderatormode's Issues

Moderate chat

As a moderator
I want to be able to moderate chat
So that chat remains available for communication

Acceptance Criteria

Given a player who has moderator permissions
Then the player has access to the chat moderation tools

Given a player who is in moderator mode
Then the player has access to monitoring tools

Moderator mode - attributes

As a moderator
I want moderation tools
So that I can perform moderation duties effectively

Given a player with moderator permissions
When the player enters moderation mode
Then the player has access to moderation tools

Acceptance Criteria

For all acceptance criteria, the "moderator" is assumed to be in moderator mode.

  1. Moderator is given a set of config-defined permissions
  2. Moderator is in the spectator gamemode
    1. Moderator is unable to interact with any entities
    2. Moderator is unable to interact with his/her own inventory
    3. Moderator is able to teleport to other players
  3. Moderator is unable to acquire any achievements

Moderator/Player Mode toggle command

As a player with moderator permissions
I want the ability to enter moderator mode
So that I can perform moderator duties

Given a player with moderator permissions
When the player executes the toggle command
Then the player is put into moderator mode

Acceptance Criteria

  1. Command is only executable by players with a plugin-defined moderator permission
  2. Command is used to toggle between moderator and player mode
  3. Players who quit while in moderator mode should be automatically returned to player mode before they're fully disconnected from the server
Steps
  • Create a moderator mode state
    • Should be able to set and get state
  • Generate test

Return to Player mode

As a player in moderator mode
I want to be able to turn off moderator mode
So that I can continue playing the game when I am done with my moderation duties

Given a player in moderator mode
When the player triggers the toggle command
Then the player should have his moderator mode attributes reverted
And is teleported back to the place where they entered moderator mode

Acceptance Criteria

  1. Player is returned to the location where they first entered moderator mode
  2. Player is in the survival gamemode
  3. All config-defined moderator permissions are revoked

Manage tickets

As a moderator
I want to be able to manage tickets
So that I can resolve issues brought up by players

Acceptance Criteria

Given a player who has moderator permissions**
Then the player has access to:

  • /ticket comment
  • /ticket check
  • /ticket close

Given a player in moderator mode
Then the player has access to:

  • /ticket tp

Given a player who has moderator permissions
When the player is logged in
Then the player is notified of new tickets

Moderator mode - prerequisites

As a player
I want moderators in "player" mode to fulfill certain conditions before entering moderator mode
So that moderator mode can't be abused to escape situations or reduce survival difficulty

Given a player with moderator permissions
When a player is on the ground
And has not received any damage lately
And is not being targeted by a hostile mob
And is not near a "boss" mob
And the player activates the toggle for moderator mode
Then the player should be put into "moderator mode"

Acceptance Criteria

  1. Moderator mode should be denied to any players who
    1. Don't have the moderator permission
    2. Are not on the ground
    3. Have received damage recently
    4. Are being targeted by a nearby hostile mob
    5. Is not near or engaged with a "boss" mob (a mob that causes the bossbar to display on the player's client)

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.