Skip to content

An EXILED Plugin that can replace basegame room with MER's schematic

License

Notifications You must be signed in to change notification settings

fakeman2332/MERRoomReplacement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Downloads

MERRoomReplacement

An EXILED Plugin that can replace basegame room with MER's schematic.

Caution

Not all rooms able to be replaced due to basegame features.

Requirements

Installation

  1. Go to releases page and download dll.
  2. Put downloaded plugin to your EXILED/Plugins directory.

Configuration

room_replacement:
# Indicates plugin enabled or not
  is_enabled: true
  # Indicates debug mode enabled or not
  debug: false
  # Options for replacement. Will be applied on WaitingForPlayers event
  replacement_options:
  - is_enabled: false
    target_room_type: HczTestRoom
    schematic_name: 'AwesomeSchematic'
    spawn_delay: 2
    position_offset:
      x: 0
      y: 0
      z: 0
    rotation_offset:
      x: 0
      y: 0
      z: 0

Command

Requires mp.roomreplacement permission

REPLACEROOM <ROOM_TYPE> <SCHEMATIC_NAME> (OFFSET_POS_X) (OFFSET_POS_Y) (OFFSET_POS_Z) (OFFSET_ROT_X) (OFFSET_ROT_Y) (OFFSET_ROT_Z)

* offsets are optional and by default equal to 0.

Usage example

replaceroom Lcz330 AwesomeSchematicName
replaceroom Lcz330 AwesomeSchematicName 0 0.15 0
replaceroom Lcz330 AwesomeSchematicName 0.1 0.15 -0.5 0 180 0

API

  • You can use MERRoomReplacement.Api.RoomReplacer class in that case.

Depends on 💖

EXILED & MapEditorReborn

About

An EXILED Plugin that can replace basegame room with MER's schematic

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages