Skip to content

QubeMC/premium-gift-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

中文版README

Premium Gift Package

  • This is a plugin that allows admin to copy their inventory as a gift packages and publish to five different permission groups, these permission groups can claim these packages with a command with the predefined permissions.

Features

  • Allow admin to copy their inventory with /packgift command
  • Allow admin to define the expiration date and permission group for a certain package
  • Allow admin to publish their gift package
  • Allow players to claim the gift package

Coding Style

  • This plugin doesn't have a predefined coding style

API/Framework Used

  • Paper Spigot Engine

Commands

  • /gifts
    • Allow Players to claim a gift
  • /packgift <permission group(level1, level2, level3, level4, level5)>
    • Allow admin to create a giftpackage from their inventory data and define the expiration date, and permission group

Permission group

  • This plugin have five different permission group, level 1,2,3,4, and 5.
  • These permission groups can be assigned to different users via any permission plugins.
  • These are the permission code
premiumgift.level1
premiumgift.level2
premiumgift.level3
premiumgift.level4
premiumgift.level5

Installation

  1. require installation of Paper Spigot.
  2. Download maven using this command: sudo apt-get install maven
  3. After installation, run this command to clone this git repository: git clone https://github.com/2B2TMCBE/premium-gift-package.git
  4. Change directory to the plugin's base directory, which contains the file named pom.xml
  5. Run this command to compile the plugin using maven mvn clean package
  6. Wait until the compiling process is completed, a new directory named target should now be created, nevigate into target.
  7. move the jar file named premium_gift-1.0-SNAPSHOT-shaded.jar into Paper's server directory, move it into a directory named plugins.
  8. Restart the server, the plugin should be installed.

Contribution

  • This project is open to pull request and everyone can use, fork, make private, or modify this plugin

License

MIT License

About

A plugin for premium daily gift package distribution

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages