LogoLogo
Back to raftmodding.com
  • Welcome to the RaftModding docs!
  • ⬇️Getting started
    • Installing Raft Mod Loader
      • Troubleshooting
        • An error occured while fetching for updates
          • Disabling IPV6
          • Changing the DNS
        • The menu inside the game doesn't show up
        • The game crashes on startup
        • There are error notifications in-game
      • Linux or Steam Deck installation
        • Using Bottles
        • Using Wine
      • Configuring your antivirus
        • Windows Defender
        • Malwarebytes
        • Bitdefender
        • Avast
        • Norton
        • AVG
    • Installing a mod
      • Mods in multiplayer
    • How to run multiple raft instances
  • ⚙️MODDING TUTORIALS
    • How to create a mod project
      • The modinfo.json file
    • How to create an AssetBundle
    • How to create console commands
    • Harmony basics
    • Getting access to the modding repositories
  • ⚒️Modding API
    • RAPI
    • Mod
  • 📚Modding Examples
    • Accessing the player instance
    • Adding private variables
    • Spawning dropped items
    • Get selected hotbar item
    • Get the current SteamID
    • Get the current username
    • Giving items to a player
    • Modifying private variables
  • 🌏WEBSITE
    • Mod Slugs (Unique Identifier)
  • 🖥️RAFT DEDICATED SERVER
    • Raft Dedicated Server
Powered by GitBook
On this page

Was this helpful?

  1. WEBSITE

Mod Slugs (Unique Identifier)

Mod slugs are the mods identifiers that ends in the mod url.

Slugs are strings that can be used in URLs. Slugs must fulfill all of the following rules:

  • Slugs must be at least one character and at most 64 characters long.

  • Slugs may only contain letters, numbers, dots ("."), dashes ("-") and underscores ("_").

  • All letters must be in lower case and from the basic latin alphabet.

Examples

Good examples:

  • my-mod

  • version-1.3.4

  • test-6.4.1_RC-3

Bad examples:

  • be$t-mod(dollar signs are not allowed)

  • café-mod("é" is not a letter of the latin alphabet)

  • <script>alert('xss')</script> ("<>()'/" are not allowed)

  • my mod 2 (whitespaces are not allowed)

  • a-very-very-very-very-very-very-very-very-very-very-very-very-very-long-name (longer than 64 characters)

PreviousModifying private variablesNextRaft Dedicated Server

Last updated 1 year ago

Was this helpful?

🌏