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.
| Command | Default key | What it does |
|---|---|---|
kf_cast | E | Casts the line when the on-screen prompt is visible (on a fishing spot, facing water). Key from Config.Minigame.CastKey. |
kf_cancel | X | Stops the current fishing session. Key from Config.Minigame.CancelKey. |
+kf_hotbar_open | Q | Opens 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_anchor | G | Drops or raises the anchor of the boat you are on. Key from Config.Rent.AnchorKey. |
kf_party | F7 | Opens the party window. Name and key come from Config.Party.OpenCommand and Config.Party.OpenKey. |
kf_party_accept / kf_party_decline | Y / N | Accepts or declines a party invite. Keys from Config.Party.AcceptKey and Config.Party.DeclineKey. |
kf_tutorial_next / kf_tutorial_skip | Space / Backspace | Next 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
| Command | Who | What it does |
|---|---|---|
/fishingadmin | ACE koja-fishing.admin or a group from Config.Admin.Groups | Opens 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:
add_ace group.admin koja-fishing.admin allowEvery 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.
| Command | Where | What it does |
|---|---|---|
createfishingcode <code> <maxUses> <boostDurationSec> <luckBonus> | console only | Creates a redeem code. maxUses = 0 means unlimited. Name from Config.RedeemCode.createCommand. |
fishaddsp <playerId> <amount> | console only | Gives skill points to an online player. |
fishingquest_test <boardId> <questId> [amount] [playerId] | console or ACE | Adds quest progress, for testing a board. |
add_ace group.admin command.fishingquest_test allowExample:
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.
| Command | What it does |
|---|---|
/battery | Places an electric fishing battery for free. |
/divingtest | Runs the diving start check and resyncs caches. |
/rewardtest [rarity] [weight] [xp] | Opens the catch screen with a fake fish. Nothing is given. |
/digprop | Interactive 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. |