Koja Scripts

Commands

Key bindings, the /fishingadmin admin panel, console and debug commands of Koja Fishing, with the permissions they need.

Commands

This page lists every command Koja Fishing registers: the key bindings players use, the admin panel and console commands, and the debug commands that only work while Config.Debug = true.

Player commands

There is no chat command for fishing. Every action is a key binding that players can change in Settings → Key Bindings → FiveM.

CommandDefault keyWhat it does
kf_castECasts the line when the on-screen prompt is visible (on a fishing spot, facing water). Key from Config.Minigame.CastKey.
kf_cancelXStops the current fishing session. Key from Config.Minigame.CancelKey.
+kf_hotbar_openQOpens the equipment hotbar: tap the key, or hold it and press TAB (ox_inventory does not open while the key is held). Name and key come from Config.Hotbar.OpenCommand and Config.Hotbar.OpenKey.
kf_anchorGDrops or raises the anchor of the boat you are on. Key from Config.Rent.AnchorKey.
kf_partyF7Opens the party window. Name and key come from Config.Party.OpenCommand and Config.Party.OpenKey.
kf_party_accept / kf_party_declineY / NAccepts or declines a party invite. Keys from Config.Party.AcceptKey and Config.Party.DeclineKey.
kf_tutorial_next / kf_tutorial_skipSpace / BackspaceNext shot / skip the guide cutscene.
kf_intro_reset—Replays Kuba's greeting when you stand next to him, otherwise shows it the next time you walk up.
/dig—Starts digging. Only when Config.Digging.EnableTestCommand = true; normally players use the shovel item.

Admin panel

CommandWhoWhat it does
/fishingadminACE koja-fishing.admin or a group from Config.Admin.GroupsOpens the admin panel: edit the config live, and manage players' licences, exam attempts, XP, skill points and level.

The command name comes from Config.Admin.Command. Anyone can type it, but the server checks the permission on every request, so the panel only opens for admins. Players in the admin and superadmin framework groups have access by default; give it to others with the ACE:

server.cfg
add_ace group.admin koja-fishing.admin allow

Every change made in the panel is printed to the server console with the admin's name. See Configuration for what the panel edits.

Console commands

These run from the server console, or in game for players with the matching ACE permission.

CommandWhereWhat it does
createfishingcode <code> <maxUses> <boostDurationSec> <luckBonus>console onlyCreates a redeem code. maxUses = 0 means unlimited. Name from Config.RedeemCode.createCommand.
fishaddsp <playerId> <amount>console onlyGives skill points to an online player.
fishingquest_test <boardId> <questId> [amount] [playerId]console or ACEAdds quest progress, for testing a board.
server.cfg
add_ace group.admin command.fishingquest_test allow

Example:

createfishingcode SUMMER25 100 3600 10

This creates SUMMER25, usable by 100 players, giving +10 luck for one hour.

Debug commands

Registered or active only when Config.Debug = true. Never leave debug on a live server — /battery places a battery without using an item.

CommandWhat it does
/batteryPlaces an electric fishing battery for free.
/divingtestRuns the diving start check and resyncs caches.
/rewardtest [rarity] [weight] [xp]Opens the catch screen with a fake fish. Nothing is given.
/digpropInteractive tuner for the shovel position in hand; prints values for config.digging.lua.
kf_levelup_preview [level]Plays the level-up cutscene for a level. Nothing is given.