Player Camp System RedM Script
you can get it here https://yamisat.tebex.io/package/7410674 A fully-featured, immersive player camp system for RedM servers running VORP Core. Players can establish personal camps anywhere in the open world, furnish them with tents, campfires, stashes, and more, and keep them alive through an automated maintenance economy. Key Features Camp Placement System: Players use a Totem item (or an optional command) to enter a free-placement mode. A ghost preview of the camp prop follows the player's crosshair in real time using a raycast. Distance is adjustable with Arrow Up/Down, rotation with Arrow Left/Right, and H to confirm. On confirmation the player names their camp before it is saved to the database. Every step is fully configurable, item name, consumption, command name, max camps per player. Camp Elements: Once a camp is placed, the owner can individually position up to six distinct elements around it, each with its own prop, interaction distance, and behavior: Tent — 30+ selectable tent models from vanilla RedM (Bounty Hunter, Collector, Trader, Doctor, Wanderer, and more). Up to 3 tents can be placed per camp, unlocked progressively via a subtle "Add Tent" button in the UI. Campfire — A toggleable fire prop. Click to light or extinguish. State persists in the database. Stash — A shared chest linked to VORP inventory. Configurable weight and slot capacity. Wardrobe — A prop chest that opens the VORP character wardrobe directly for any camp member. Cashbox — A money storage box. Members can deposit funds used to automatically pay maintenance fees. Management Point — The owner's control hub for renaming, relocating, deleting the camp and managing membership. Multi-Tent Support: Up to 3 individual tents can be placed per camp. Each tent slot has its own independent position and model. A clean "Add Tent" button appears in the UI once the first slot is filled, keeping the interface uncluttered for players who only need one. Member System: Camp owners can invite nearby players to become members. Members gain access to the Stash, Wardrobe, and Cashbox. The owner can remove members at any time from the management menu. Automatic Maintenance System: Camps require periodic upkeep payments drawn directly from the in-camp Cashbox. The interval, cost, grace period, and behavior are all configurable. If funds run out after the grace period expires, the camp is automatically deleted and the owner is notified. Owners also receive notifications when they join the server if their camp is overdue. Prop Streaming: Camp props are spawned and despawned client-side using ox_lib's point system. Spawn and despawn distances are configurable. All players on the server can see and render every camp; interactions are restricted to owners and members only. Map Blips: Each camp generates a map blip. By default only the owner sees their own camp blip, but a config option can make all camps visible to all players. Item Consumption: Both camp creation (Totem) and tent placement (Camp Supply) support optional item consumption, toggled independently with a single config flag each. Multi-Language Ready: English and Spanish locales included. All UI text, notifications, and prompts are fully locale-driven. Requirements vorp_core vorp_inventory oxmysql ox_lib sleepless_interact Installation Drop the ys_camps folder into your resources directory. Add ensure ys_camps to your server.cfg after all dependencies. Run setup.sql against your database, or let the resource auto-create tables on first start. Insert the required inventory items (totem, muebleCampamento) — included in setup.sql. Configure config.lua to your preference. Configuration Highlights Camp Creation: Toggle between item-based or command-based camp creation. Set item name, consumption, and per-player camp limits. Tents: Set how many tents (1–3) players can place per camp. Toggle whether the Camp Supply item is consumed on placement. Maintenance: Enable or disable the system entirely. Tune the payment interval, cost per cycle, grace period before deletion, and how the server notifies the owner. Blips: Show blips only to the owner or to every player on the server. Prop Streaming: Independently configure spawn and despawn distances for camp props.
Download
0 formatsNo download links available.