GGCode Scripting Documentation

website·Indexed 31 days ago

https://guides.ggcode.net/

Documentation for creating custom client and server plugins for MU Online. Includes guides on the BridgeFunction event system, SQL database operations, UI rendering and components, player functions, and a library of pre-built plugins such as Throne Conquest, Item Roulette, and Boss Damage System.

Tokens
72.5K
Snippets
404
Records
489
Agent score
50%

What's inside GGCode

  1. Overview of the Throne Conquest PvP event

    Throne Conquest is a guild-based PvP event held in a confined area of Devias (coordinates 206,206 to 252,248). The objective is for a Guild Master (GM) to accumulate a specific amount of time (default 300 seconds) while occupying the throne. The first Guild Master to reach the required time wins. If no one reaches the target time within one hour, the event ends. Special monsters spawn only for the winning guild.
  2. Overview of the Scramble Event plugin

    The Scramble Event is an automatic word puzzle game where players compete to unscramble words. The system presents scrambled letters and three hints; the first player to type the correct word wins the round. An event typically consists of 10 rounds with increasing difficulty every 3 rounds. Winners receive rewards based on the word's difficulty level and the player's account level (AL).
  3. Overview of the Account Lock System

    The Account Lock System adds a numeric PIN requirement (4-10 digits) that must be entered after the standard account login. This prevents account theft, sharing, and unauthorized modifications (such as character deletion or item trading) even if the primary account password is leaked. The system works automatically during the login process.
  4. Overview of the Item Hunt event

    The Item Hunt event challenges players to find and deliver specific items to an NPC that spawns at a predefined location. The first player to deliver the requested item receives the reward. Key mechanics include:

    • The event can be triggered manually by a GM or automatically via a schedule.
    • The requested item is not consumed upon delivery.
    • Rewards are granted instantly.
    • There is a 20-second anti-spam delay between delivery attempts.
  5. Overview of the Quiz System mechanics

    The Quiz System is a competitive event where players answer questions to earn rewards based on speed and accuracy. Key mechanics include:

    • Events can be triggered manually by a Game Master or automatically via a scheduler.
    • A single event consists of up to 10 question rounds.
    • Players have a maximum of 60 seconds to answer each question.
    • A hint is automatically displayed after 30 seconds.
    • Up to 3 players (the fastest correct responders) can win per round.
    • There is a 30-second break between rounds.
  6. Overview of the Dark Evolution System

    The Dark Evolution System is an automatic event where monsters spawn across configured maps. When two monsters of the same level meet, they merge into a stronger evolved version. The evolution chain progresses from Level 1 up to Level 7 (Final Boss), with each level providing better rewards. The event runs on a schedule with automated announcements to warn players before it starts and ends.
  7. Overview of the Boss Damage System

    The Boss Damage System tracks and ranks player damage against bosses. It displays HP bars when players are near configured bosses and provides rewards for individuals, parties, and guilds based on damage dealt. The system supports tracking up to 3 bosses simultaneously (defined by TopCount) and can announce the killer or the top damage dealer.
  8. Overview of the Item Roulette System

    The Item Roulette System allows players to spin a wheel for random rewards using tickets or in-game currency. Administrators can create multiple roulettes, each with its own unique item pool, configurable drop chances, and specific rules. Rewards are delivered instantly upon completing a spin.
  9. Overview of the Hunt Point System

    The Hunt Point System rewards players with points for killing monsters on configured maps. These points are invested into permanent character buffs. The system features party bonuses, daily earning limits based on Account Level (AL0-AL3), and map-specific reward rates. Each buff can be upgraded up to level 100.
  10. Overview of the Auction System

    The Auction System allows server administrators to host automatic or manual auctions. Players compete for rare items by bidding with specific stackable items defined as currency. The highest bidder at the end of the auction period wins the item. Auctions can be triggered manually by a Game Master or automatically via a scheduler.
  11. Overview of the Jewel Bank plugin

    The Jewel Bank plugin allows players to store and withdraw jewels using an in-game interface. It supports both standard and custom jewels, automatically stacking them to prevent inventory and vault clutter and eliminate the risk of losing items due to lack of space.
  12. Overview of Gremory Case EX reward system

    Gremory Case EX is a reward storage and redemption interface compatible with Season 6 and 20. It allows players to claim rewards from events, websites, or GMs in-game. To prevent item loss, the system verifies that the player has 4x4 free inventory slots before delivering items. Rewards are stored in an SQL database and can be accessed via the interface (default hotkey: CTRL+S). Supported reward categories include Site Market, Event, GM, Vote, and Donation rewards.