Skip to content

DrZoddiak/PostmanPat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostmanPat

Dependencies

Required Dependencies

  • Vault - [1.7]
  • EssentialsX - [2.21.0]
  • DiscordSRV - [1.29.0]

Optional Dependencies

This plugin also has some optional dependencies for expanded features

PlayerBusiness - [1.8.0]

Includes pay and balance commands for businesses as well as adding an option for paying businesses

  • /firm pay <business> <amount> <user|player>
  • /firm balance <business>
  • /firm list
  • /pay <amount> <business>

AreaShop - [2.9.1] & WorldGuard - [7.0.14]

Enables the ability to transfer properties over discord and check on property ownership.

  • /realty info <plot> <user|player>
  • /realty transfer-landlord <user|player>
  • /realty transfer-ownership <user|player>
  • /realty list <user|player>

Litebans - [0.6.1] OR LibertyBans - [1.1.2]

These hooks don't add any commands, just prevents banned users from using commands and a hook for mailing while muted.

PlaceholderAPI - [2.11.6]

Introduces a playtime command to check a user's playtime. Placeholders can be put in the config and will be parsed when the command is run.

  • /playtime [user|player]

Features

Description

This plugin uses DiscordSRV's Bot instance and api to add SlashCommands to allow for mail, and economy services.

Commands

Mail Commands

  • /mail read [page] [include-read]
  • /mail send <user> <message>
  • /mail mark-read
  • /mail ignore [user] [uuid]

Econ Commands

  • /bal [user|player]
  • /pay <amount> <user|player>

Considerations have been made for negative values, zero values, insufficient balances, and respects Essentials /togglepay feature.

Config

The important config node is NotifyChannel which should be set to a public textchannel for users who cannot receive a DM, to be pinged about new mail. An invalid channel ID will log an error in console

Some sub-commands have been made configurable, as a bit of an oversight root commands aren't currently configurable due to how commands have been implemented.

About

Adds commands to a DiscordSRV bot to check and send mail using EssentialsX Mail service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors