PrisonCore API

Jun 25, 2018 at 3:41 PM
PrisonCore API
  • PrisonCore API

    Why should you use our api instead of your own system? The main reason is we have a smart loading system that allows us to save ram by only loading player data when it's needed, and variables are automatically reloaded with a reload. This means you can become fully integrated with the core, which makes it easier for the user to use.

    The addon API is currently in development, this means that this document is next to useless for now.

    Example 1

    Function 1

    Features:
    Code (Text):
    {core:features::rankups} - Used to enable or disable rankups on the server
    {core:features::serverlist} - Used to enable or disable server list motd on the server
    {core:features::linkaccount} - Used to enable or disable discord linking on the server
    {core:features::prestige} - Used to enable or disable prestiges on the server
    {core:features::shops} - Used to enable or disable shops / autosell on the server
    {core:features::chat} - Used to enable or disable chat and discord chat integration on the server
    {core:features::discord} - Used to enable or disable discord integration on the server
    {core:features::playtime} - Used to enable or disable playtime on the server
    Language:
    Code (Text):
    {core:lang::prefix} - Stores the main prefix used around the core

    Go back
  • Loading...
  • Loading...