Code Monkey home page Code Monkey logo

door_system's Introduction

Door System

Simple door ownership system that works on any gamemode.

Current Features:

  • Own doors by looking at them and pressing F9. (Can now be customized through the spawn menu to any key.)
  • Owned doors can be locked and unlocked with the keys.
  • Locked doors can be forced open with the door ram.
  • Admins can access a config in the door's menu to force an owner on that specific door.
  • Specific owner restrictions and gamemode configs can be configured in the doors_config.lua file.
  • Owner restrictions will save in a JSON file for each map.
  • Door owners can now set a custom name to their door that is visible to all players who look at the door.
  • Support for owning whole rooms or buildings without having to manually own each individual door. (Server owners have to set this up manually, this doesn't support any maps out of the box.)
  • Admins can force specific doors to lock when the map loads.
  • Door owners can add other players as co-owners, allowing them to lock and unlock those doors.

Notes:

  • If you use this on DarkRP you'll have to disable the built-in door system for that gamemode. They shouldn't conflict with each other code-wise but the HUD elements will overlap.

door_system's People

Contributors

lambdagaming avatar ryanthetechman avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ryanthetechman

door_system's Issues

Won't let me own door

When I go to own the door in game, it does not let me own it and it does not show up anything about not being able to own it in chat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.