Skip to content

radiant-ai/MilkyPixelart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MilkyPixelart

CodeFactor Maintainability Build

Protect your unique banners and art maps from illegal copying:

Demo

Preview art maps directly from the virtual markets:

Demo

Bypass the limit of 6 patterns on banners using GUI-based banner editor. You can also erase the top pattern on the go:

Demo

Instantly search duplicated art maps to enforce copyright rules on your game server:

Demo

Add the desired art maps to blacklist so they instantly get deleted on your server:

Demo

Dependencies

  • Latest Paper
  • Vault + any Economy plugin

Configuration

common:
  # the first lore line shown on a protected item
  copyrightText: "<#FFFF99>Protected from duplication"
  # the second lore line shown can start or finish with author's name (<arg1>)
  copyrightAuthorName: "<#FFFF99>© <#9AFF0F><arg1>"
  # any lines we should remove from the lore when item is duplicated
  copyrightLegacyStrings:
    - "Copyrighted by"
commands:
  # add custom aliases to the default /pixelart command
  aliases:
    - art
    - pxt
banners:
  # banner protection price
  copyrightPrice: 20
pixelarts:
  # cooldown for show and showall
  showArtCooldown: 300
  # message for show and showall <arg1> - nickname and <arg2> - art list
  showMessage: "<#9AFF0F><arg1> <#FFFF99>shows off their arts: <arg2>"
  # art map protection price
  copyrightPrice: 100
  # ignore inventory title names and preview arts everywhere
  previewEverywhere: false
  # these lines should be contained by GUI's title to enable art map preview
  previewInventories:
    - "Auction"
    - "Market"
    - "Shop"
  # disallow map creation if player has no access to block under their feet
  respectRegionProtection: false

Commands

/pixelart protect - copy protect the art/banner

/pixelart show - show the art in the main hand

/pixelart showall - show all arts in the toolbar

/pixelart findduplicated <map id> - find other maps with the same picture as the given map id

/pixelart reload - mostly safe reload of the entire plugin

/pixelart blacklist add <map id> <uuid> - add the map to the blacklist with the specified legit owner

/pixelart blacklist remove <map id> - remove the map from the blacklist

/pixelart blacklist list [page] - show the blacklist

Permissions

For commands:

pixelart.protect

pixelart.show

pixelart.showall

pixelart.preview - required to preview maps in show/showall

pixelart.findduplicated

pixelart.blacklist

pixelart.reload

Other:

pixelart.bypassloom - bypass loom requirements

pixelart.show.cooldownbypass - bypass show/showall cooldown

About

Allows to copyright art maps, banners, edit banners and preview art maps in GUI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages