Supreme Ventures
  • Welcome to Supreme Ventures
  • Important Information
    • Installation & Setup
    • Configuration Options
      • Commons Config
      • Database Engine
      • Message Formats
      • Custom Styling
      • Configure Numbers
      • Timestamps
    • Developer API
    • Official Discord
    • YAML Validator
  • Freebies
    • 📣ShockMOTD
    • 👻AirHeads
    • 🔗Discord Link
      • Commands & Permissions
      • Placeholders
      • Setting up Discord bots
  • Premium Plugins
    • 💬Chat Core 💲14.49
      • Commands & Permissions
      • Placeholders
    • 🎁Player Gifts 💲7.50
      • Commands & Permissions
    • 💰Premium Credits 💲20.00
      • Commands & Permissions
      • Placeholders
    • ⬇️Voting 💲15.00
      • Commands & Permissions
      • Placeholders
    • 📊Player Stats 💲10.00
      • Commands & Permission
      • Placeholders
    • 🛡️SMP Guilds 💲20.00
      • Commands & Permissions
      • Placeholders
      • Developer API
    • ⬆️Player Levels 💲10.00
      • Commands & Permissions
      • Placeholders
      • Placeholder Scripts
  • Libraries
    • 📘Commons
Powered by GitBook
On this page
  • What is Commons?
  • Does this change anything on my server?

Was this helpful?

  1. Libraries

Commons

Core Developer Library

What is Commons?

Commons is a core developer library that all Supreme Ventures plugin use. Commons handles a large portion of your plugin's features automatically behind the scenes so our developers don't have to write as much boring and repetitive code.

  • Menus - Menu animations, failed action items, etc

  • Commands - Help menus, and argument handling

  • Database Engine - Our custom database interface (data storage)

  • Configs - Reads & writes with plugin configs

  • Leaderboards - Managing, refreshing, and accessing.

  • Hundreds of misc utility functions and classes

Does this change anything on my server?

Yes and no. Commons helps to eliminate duplicate class loading at runtime. Basically, if we just included Commons inside of every plugin, every plugin would load its own version of all the common classes, potentially having 8 - 20 copies of some classes. If our plugins depend on it instead, all plugins share the same set of classes saving memory when using a lot of the Gucci plugins at the same time. This has an adverse effect when only using one or two plugins. Commons has a lot of stuff in it, and one or two plugins won't use the majority of the classes, in turn, wasting ram.

PreviousPlaceholder Scripts

Last updated 9 months ago

Was this helpful?

📘