Skip to content

Docs overhaul: proposed scripting/ information for 2.16 #14

@ahmadmsaleem

Description

@ahmadmsaleem

Proposed scripting/
IA(Information Architecture) for the 2.16 docs consolidation.

scripting/
  # onboarding
  00 getting-started           NEW  install Skript jar, Paper req, addons primer, file layout
  01 your-first-script         NEW  create .sk, /sk reload, broadcast hello-world walkthrough
  02 how-skript-works          NEW  effects/expressions/conditions/types vocab, parse model
  03 config-sk                 NEW  config.sk tour, common tweaks (color reset, variable backups)

  # language fundamentals
  10 syntax-basics             NEW  indentation, sections, colons, comments, line continuation
  15 values-and-types          NEW  type system, casting, object, plurals, type-hints
  20 text
  25 numbers                   NEW  int vs decimal, math ops, rounding, formatting
  30 variables                 NEW  {_local}, {global}, {_list::*},  {-ram}, scope 
  35 operators                 NEW  +/-/*//, is/>/<, and/or/not, "%...%" concat, precedence table
  38 dates-and-timespans       NEW  "now", timespans, formatting, difference, unix time

  # control flow
  40 conditionals
  50 loops
  60 lists                     NEW  indices, ::*, filter/where, size, sort, merge, clear
  65 waits-and-delays          NEW  wait syntax, scheduler implications, no-wait-in-returns

  # events + triggers
  70 events                    NEW  on-X, cancel, priority, async, custom events (brief)
  75 event-values              NEW  event-player/block/world, when available, reference table
  78 periodical-events         NEW  every x, on load/unload, schedule-based vs trigger-based

  # code organization
  80 commands
  85 command-arguments         NEW  type args, optional, flags, defaults, quoted text
  90 functions
  95 script-loading            NEW  file load order, aliases files, enabling/disabling, -examples/

  # data
  100 pdc

  # recipes 
  recipes/
    homes                      NEW  /sethome, /home, /delhome with variable storage
    warps                      NEW  shared warp list + per-warp perms
    kits                       NEW  cooldowns + inventory give
    economy                    NEW  balance tracking, /pay, /balance, /baltop
    chat-formatter             NEW  rank prefixes, color perms
    custom-items               NEW  pdc-tagged items, right-click handlers, durability
    cooldowns                  NEW  per-action cooldowns outside command field
    countdowns                 NEW  game-start timers with broadcasts
    afk-detection              NEW  movement tracking, /afk, auto-kick
    admin-vanish               NEW  hide from players, console still sees
    player-stats               NEW  kills/deaths/playtime via pdc + variables
    leaderboards               NEW  sorted top-N from list variable
    quest-skeleton             NEW  multi-step progress, rewards
    click-menus                NEW  chat-component menus via <run command:>
    voting-system              NEW  daily /vote with cooldown-storage

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions