Code Monkey home page Code Monkey logo

simplepms's Introduction

SimplePMs

Releases available on Modrinth

A simple plugin that allows for players to send private messages to one another, and reply to the last person who they messaged or received a message from.
This plugin also has 'social spy' which allows for moderation of these messages.

Commands

  • /msg (or dm, m, pm, tell, t)
    Allows the user to send a private message to another player.
    Usage: /msg <recipient> <message>.
    This command requires the spm.message.send permission.

  • /reply (or /r, /re):
    Allows the user to reply to a previously received private message.
    Usage: /r <message>.
    This command also requires the spm.message.send permission.

  • /socialspy (or /ss, /spy, /sspy):
    Toggles socialspy for the user.
    Allows staff members to read other people's private messages.
    This command requires the spm.socialspy.toggle permission.

  • /spmreload:
    Reloads the SimplePM configuration.
    This command requires the spm.reload permission.

Permissions

  • spm.socialspy
    Allows a player to read other player's private messages.
    Default: op
  • spm.socialspy.toggle:
    Allows a player to toggle socialspy on and off
    Default: op
  • spm.recipient.override
    Allows a player to send players a direct message whether they have the receive permission or not. Useful for staff.
    Default: op
  • spm.consolespy:
    Allows a player to read messages being sent from the console directly to players
    Default: op
  • spm.reload:
    Allows a player to reload the plugin configuration/locale.
    Default: op
  • spm.message.send:
    Allows a player to send direct messages with /msg and /r.
    Default: true
  • spm.message.receive
    Allows a player to receive direct messages
    Default: true

PlaceholderAPI integration

You can use placeholderAPI placeholders in the messages by doing: <papi:placeholder>
You will need to remove any % from the placeholder, and put in the text alone, so for the placeholder %player_displayname% you would use <papi:player_displayname> in the file here.
You will need placeholderAPI installed for those placeholders to work

simplepms's People

Contributors

peashooter101 avatar rhythmicsys avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

huguyt

simplepms's Issues

Feature Request and Bug Report

I downloaded SimplePMS version 1.0.3 from Modrinth. Honestly, this plugin is really good. But I think SimplePMS can do better.
Here are the features I think should be added and the bugs that can be solved:

  1. (BUG Report) When socialspy is turned on, when a player logs off and logs back in, private chats between other players will not be monitored.
    Information from /data get entity {player_name}
    image
    This should be a sign of activation, but the player did not receive any private messages from other players.
  2. (Feature Request) The Console needs a single message to show who sent, received and the content of the message.
  3. (BUG Report) When a player privately chats with a player who is not online, the placeholder is not replaced.
    83db7a8deeb5ea68854e7b9866e042d6
  4. (Feature Request) I hope this message has a config to control the switch, and this message has no localizable file.
    image
  5. (Feature Request) When a player sends a private message to an invisible player (a player that cannot be found using TAB quick completion in the chat bar), an "ERROR_RECIPIENT_OFFLINE" message is triggered. (Some cheating players use this function to check if OP is online.)
  6. (Feature Request) When a player replies to a message from the Server, the Console should theoretically have a message like when a player is chatting with him privately. ({player_name -> You {message}})
    That's all I can think of for now.
    The above are the BUGs I have found and the Feature Requests I have proposed. I use Google Translate to translate my request.

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.