The Lab
General store

RedM general store script

Every western town has its general store, and players walk into it more than anywhere else. A shop menu opened at a marker works, but it turns the busiest room of the map into a vending machine. These are the points worth checking in a general store script, followed by how The Lab General Store answers them.

Our scripts

Updated

Real Old West general stores for RedM: take the goods off the shelves, pay the clerk, or walk out and risk the bell, the sheriff and a clerk who gives chase.

Immersive general stores for RedM. Players take tins, bottles and cigar boxes straight off the shelves, pay the clerk for a handwritten invoice, or try their luck shoplifting and robbing the register. Stores can be handed to jobs or players with a full account book. Everything is configured in game, in 14 languages, on VORP, RSG, RedEM:RP or standalone.

  • VORP
  • RSG
  • RedEM:RP
  • Standalone

By framework

What to look for in a RedM general store script

  1. Shopping in the room, not in a menu

    The store interiors are already full of tins, bottles and boxes. A script that sells those props, on the shelves where they stand, keeps players in the world instead of in a list.

  2. Paying at the counter

    Buying should involve the clerk: a bill, a counter, a receipt. That step is also what makes walking out without paying a choice.

  3. Crime with consequences

    Shoplifting and hold-ups are classic western roleplay. Look for witnesses, a reaction from the clerk and alerts that reach the lawmen without breaking the era.

  4. Stores players can run

    Handing a store to a job or a player only matters if they get real tools: the register, prices, stock and a record of what happened.

  5. A catalogue you control

    Your server's items are not the base list. Adding goods, setting prices and choosing which props sell them should not require editing a config file.

  6. Admin without restarts

    Stores, rules, keys and texts change as the server grows. Changing them live, in game, beats a restart for every tweak.

  7. Framework and inventory support

    The script has to take money and give items through your framework, and still be usable for roleplay when there is none.

How The Lab General Store covers these points

  • Goods on the shelves

    Players look at a tin, a bottle or a cigar box: it glows and shows its price tag. E takes it, and it leaves the shelf until its restock delay is over.

  • Invoice at the counter

    The clerk writes a handwritten invoice, stamped paid once settled. The money goes into the store's register.

  • Shoplifting and robberies

    A seen theft rings the store bell, sends a witness to the sheriff and may start a chase, fists up or revolver out. Holding the clerk at gunpoint empties the register, with lawmen required on duty and a cooldown per store.

  • Period-correct alerts

    No telephones: after a delay, lawmen get the store and a rough area on the map, with "a man" or "a woman" when the framework gives the character's sex, never a name.

  • Owned stores

    A store can go to a job (with a managing grade) or to a player. Staff open the account book at the counter: register, prices, stock, wholesale orders and a day book of sales, thefts and robberies. A member can also keep the counter in place of the NPC clerk.

  • Ready-made catalogue and item creator

    The eight stores of the map work on first start, with default goods already linked to the vanilla shelf props. Any inventory item can become goods, linked to props by looking at them in game.

  • Everything in game

    /storeadmin covers stores, goods, opening hours, store zones, extra props, rules, texts, keys and permissions, applied live. Settings are saved to data/settings.json.

  • Frameworks and languages

    VORP, RSG, RedEM:RP and standalone, auto-detected, with open adapters. 14 languages, every text editable in game.

Related guides

FAQ

Does it replace my framework's store script?

At the general store counters, yes. Disable the other store resource there (for example vorp_stores), otherwise two clerks stand at the same place.

Do I have to import SQL or add items?

No. The tlb_gs_* tables are created on first start, and the store sells items that already exist in your inventory.

Which stores are included?

Valentine, Rhodes, Strawberry, Blackwater, Armadillo, Tumbleweed, Saint Denis and Van Horn, each with its clerk. You can add more stores from your position in /storeadmin.

Is the clerk the same for every player?

Yes. He is one networked NPC, which is why OneSync is required. He can be hurt and killed, and a new clerk takes the counter a few minutes later.

Who can open the admin panel?

Players with the ACE tlb-generalstore.admin. VORP and RedEM:RP admin groups and RSG admin/god permissions are also accepted.