#MapEditorReborn (ProjectMER) for LabAPI

1 messages · Page 1 of 1 (latest)

modern briar
slow sinew
fiery flint
versed tide
#

mega win

slow sinew
versed tide
brittle pumice
modern briar
#

I love being called "they" lol

slow sinew
#

Lmao

brittle pumice
untold portal
#

and because the profile image is small it looked like some weird anime character shrujj
only realized it was a cat a few months ago

modern briar
#

like wtf

brittle pumice
#

In a matter of a week I should have my map files backed up out of the map config files and maybe into schematics

zealous shale
wanton pier
modern briar
zealous shale
modern briar
modern briar
modern briar
fiery flint
#

@modern briar is there some API in this already, like in old one?

modern briar
#

not yet

granite ermine
#

(Cooking)

fiery flint
# modern briar not yet

I hope I am not pain in the ass right now just asking again if it is there, because that is the last thing we are waiting for before we can go on this version of plugin

fiery flint
#

Playing animations, button API, event API the schematic methods like getting it and doing something with it (the animation thing) also primitives to do stuff with them

modern briar
modern briar
modern briar
modern briar
fiery flint
#

Also do you know what features are missing from old MER into this and are you planning on readding them?

modern briar
modern briar
modern briar
modern briar
modern briar
modern briar
haughty summit
#

Because I can't create the schematics

modern briar
#

You spawn stuff, save the map and load the map

#

Schematics are created in Unity project

haughty summit
modern briar
#

can you show me the mp list output?

haughty summit
modern briar
#

can you show me schematics folder?

haughty summit
modern briar
#

hmm, strange it should work

#

what does mp cr itself output?

#

it is strange, that you are getting that error

#

you should get either of these

haughty summit
modern briar
#

do you have permissions to mp cr command?

#

also, you can also spawn a schematic using the toolgun

#

press T until you find one of the schematics and you can set the exact one here

haughty summit
#

Okay I mightve had the wrong version because I reinstalled it with latest version and it worked and where tf are the schematics?

modern briar
#

LabAPI-Beta/configs/{port}/ProjectMER/Schematics

haughty summit
#

No like they dont work?

modern briar
haughty summit
#

It works for a couple but others have this

modern briar
# haughty summit

Your schematic contains locker or something like that, which wasn't yet ported

haughty summit
#

And got this too

modern briar
haughty summit
#

Okay I see now

#

So when will the lockers and stuff be ported?

modern briar
haughty summit
#

Okay, just had to ask because our server reworks guards and the entrance zone and it includes thngs like pickups and teleports.

#

atm all guards are just default simply because maps dont work anymore

modern briar
#

PlayerSpawnpoints are implemented and should work, unless you mean something else

haughty summit
#

Also no I don't think so

modern briar
haughty summit
#
on_waiting_for_players: 
on_round_started:
- TempVer
on_lcz_decontamination_started: []
on_warhead_started: []
on_warhead_stopped: []
on_warhead_detonated: []
modern briar
modern briar
modern briar
modern briar
fiery flint
#

hey @modern briar did you add the possibility of getting the mer schematic/object from raycast and then getting the parent or child?

fiery flint
# modern briar I'm not sure wdym

let me elaborate then.

I would like to shoot a raycast from player and get mer object or schematic the player is looking at.

Then if it's a schematic I would like to check a child inside it like "oven" and do something with that objects.

modern briar
fiery flint
haughty summit
#

@modern briar Trying to create one of my schematics in-game but it won't load nor does it give me and error or anything, tried several times nothing works

fluid flint
#

Why the teleporter is not spawning?

haughty summit
#

It's as simple as that I'm afraid, it should honestly be next since I estimate 90% have them in some way

#

Usually because people use this plugin for new areas

grizzled orchid
#

well i did open a pr for a rudimentary teleporter, so i can wait til michal rejects or merges it

fluid flint
#
[2025-05-14 17:27:58.666 +09:00] [ERROR] [LabApi] 'IndexOutOfRangeException' occured while invoking 'OnServerRoundStarted' on 'SCPDiscord.EventListeners.ServerEventListener': 'Index was outside the bounds of the array.', stack trace:
                                   at ProjectMER.Events.Handlers.Internal.MapOnEventHandlers.HandleActionList (System.Collections.Generic.List`1[T] list) [0x00020] in <cdfb61e91fd04323b7a0ec37cbbb0a4f>:0
                                   at ProjectMER.Events.Handlers.Internal.MapOnEventHandlers.OnServerRoundStarted () [0x0000b] in <cdfb61e91fd04323b7a0ec37cbbb0a4f>:0
                                   at LabApi.Events.EventManager.InvokeEvent (LabApi.Events.LabEventHandler eventHandler) [0x0001d] in <d02c18da28a644e7972ce3e6c924181c>
#

I cannot spawn a schametic

#

: (

indigo wedge
fluid flint
#

but same things happend...

modern briar
fluid flint
#

auto_select: true

#

⌨️ hanbin (76561199133709329) used the command mapeditor cr CustomRoom:

  at ProjectMER.Features.Serializable.Schematics.SchematicBlockData.Create (ProjectMER.Features.Objects.SchematicObject schematicObject, UnityEngine.Transform parentTransform) [0x00051] in <a938707099754dde9878f32bc9cb190c>:0 
  at ProjectMER.Features.Objects.SchematicObject.CreateObject (ProjectMER.Features.Serializable.Schematics.SchematicBlockData block, UnityEngine.Transform parentTransform) [0x00005] in <a938707099754dde9878f32bc9cb190c>:0 
  at ProjectMER.Features.Objects.SchematicObject.CreateRecursiveFromID (System.Int32 id, System.Collections.Generic.List`1[T] blocks, UnityEngine.Transform parentGameObject) [0x00020] in <a938707099754dde9878f32bc9cb190c>:0 
  at ProjectMER.Features.Objects.SchematicObject.CreateRecursiveFromID (System.Int32 id, System.Collections.Generic.List`1[T] blocks, UnityEngine.Transform parentGameObject) [0x000cf] in <a938707099754dde9878f32bc9cb190c>:0 
  at ProjectMER.Features.Objects.SchematicObject.Init (ProjectMER.Features.Serializable.Schematics.SchematicObjectDataList data) [0x00066] in <a938707099754dde9878f32bc9cb190c>:0 
  at ProjectMER.Features.Serializable.Schematics.SerializableSchematic.SpawnOrUpdateObject (LabApi.Features.Wrappers.Room room, UnityEngine.GameObject instance) [0x000b5] in <a938707099754dde9878f32bc9cb190c>:0 
  at ProjectMER.Features.Serializable.MapSchematic.SpawnObject[T] (System.String id, T serializableObject) [0x0003e] in <a938707099754dde9878f32bc9cb190c>:0 
  at ProjectMER.Features.ToolGun.ToolGunHandler.CreateObject (UnityEngine.Vector3 position, ProjectMER.Features.Enums.ToolGunObjectType objectType, System.String schematicName) [0x000f8] in <a938707099754dde9878f32bc9cb190c>:0 
  at ProjectMER.Commands.ToolGunLike.Create.Execute (System.ArraySegment`1[T] arguments, CommandSystem.ICommandSender

when this issue is solved??

modern briar
fluid flint
#

Oh....

vital glade
#

@modern briar bug?

modern briar
#

no, lockers for example are not yet implemented

vital glade
vital glade
#

why when I put a map that I had before with my coordinates it now doesn't appear anywhere?

#

no more errors appear because I removed the boxes, but now the map doesn't appear

modern briar
vital glade
#

what are the new coordinates of the surface?

modern briar
#

I think Y 300

vital glade
#

0 300 0?

#

It works now, thanks

hoary meadow
fluid flint
#

when the CustomObject is updated??

modern briar
fluid flint
#

hmm....

#

I think.. the locker is not updated... right?

#
[2025-05-19 18:19:41.947 +09:00] Command execution failed! Error: System.NotImplementedException: The method or operation is not implemented.
                                   at ProjectMER.Features.Serializable.Schematics.SchematicBlockData.Create (ProjectMER.Features.Objects.SchematicObject schematicObject, UnityEngine.Transform parentTransform) [0x00051] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ProjectMER.Features.Objects.SchematicObject.CreateObject (ProjectMER.Features.Serializable.Schematics.SchematicBlockData block, UnityEngine.Transform parentTransform) [0x00005] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ProjectMER.Features.Objects.SchematicObject.CreateRecursiveFromID (System.Int32 id, System.Collections.Generic.List`1[T] blocks, UnityEngine.Transform parentGameObject) [0x00020] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ProjectMER.Features.Objects.SchematicObject.CreateRecursiveFromID (System.Int32 id, System.Collections.Generic.List`1[T] blocks, UnityEngine.Transform parentGameObject) [0x000cf] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ProjectMER.Features.Objects.SchematicObject.Init (ProjectMER.Features.Serializable.Schematics.SchematicObjectDataList data) [0x00066] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ProjectMER.Features.Serializable.Schematics.SerializableSchematic.SpawnOrUpdateObject (LabApi.Features.Wrappers.Room room, UnityEngine.GameObject instance) [0x000b5] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ProjectMER.Features.Serializable.MapSchematic.SpawnObject[T] (System.String id, T serializableObject) [0x0003e] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ProjectMER.Features.ToolGun.ToolGunHandler.CreateObject (UnityEngine.Vector3 position, ProjectMER.Features.Enums.ToolGunObjectType objectType, System.String schematicName) [0x000f8] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ProjectMER.Commands.ToolGunLike.Create.Execute (System.ArraySegment`1[T] arguments, CommandSystem.ICommandSender sender, System.String& response) [0x001a7] in <a938707099754dde9878f32bc9cb190c>:0
                                   at ParentCommand.Execute (System.ArraySegment`1[T] arguments, CommandSystem.ICommandSender sender, System.String& response) [0x00041] in <158158ea93084dd89d9e4efbe961aec2>:0
                                   at (wrapper dynamic-method) RemoteAdmin.CommandProcessor.RemoteAdmin.CommandProcessor.ProcessQuery_Patch0(string,CommandSender)
#

same....

#

and map is not automacally load....
(config is not working...)

modern briar
fluid flint
modern briar
#

lockers are not implemented yet

fluid flint
modern briar
fluid flint
fluid flint
modern briar
#

mpr.* for every command

modern briar
modern briar
modern briar
modern briar
fluid flint
modern briar
#
default:
  inherited_groups: []
  permissions: []
owner:
  inherited_groups: []
  permissions:
  - mpr.*
fluid flint
#

oh sorry

#

I find now

#
default:
  inherited_groups: []
  permissions: []
#

C:\Users\hero7\AppData\Roaming\SCP Secret Laboratory\LabAPI\configs

modern briar
haughty summit
#
auto_select: true
# Use load:map to load, use unload:map to unload.
on_waiting_for_players: []
on_round_started:
- load:TempVer
on_lcz_decontamination_started: []
on_warhead_started: []
on_warhead_stopped: []
on_warhead_detonated: []```

Why does it not auto load @modern briar
haughty summit
#

Wel it doesn't and I'm not getting an eror

#

Like it even says in the RA it's not loaded so wtf

#

Worked fine before I updated it and changed literally nothing besides added a new schematic that previously did not work

#

And that loads just fine when I use the command

modern briar
#

oh okay, it loads when you use the command

#

idk, it's should auto load too

#

auto loading works for me on the latest version

fringe pebble
#

@modern briar Can I just say, MER is amazing

modern briar
#

thanks

haughty summit
modern briar
#

yes

haughty summit
haughty summit
#

Okay so setting it to load on round start doesn't work but on generated does???

#

That makes sooo much sense

modern briar
#

not sure why one wouldn't work for you

muted fractal
#

how do i make teleport work?

#

@modern briar

modern briar
muted fractal
#

ok

modern briar
#

teleports are linked to eachother using IDs

muted fractal
#

why not make so if they have the same target?

#

didnt work=

modern briar
muted fractal
#

like if they have the same target

#

they will connect

modern briar
muted fractal
#

oh oh

modern briar
#

not sure what is the problem

muted fractal
#

no your saying in they have the eachothers id in the target

#

i meant if they have the same target

#

it works now

muted fractal
#

where can i download 0Harmony

modern briar
#

Think one should be fine

#

for net48

muted fractal
#

OK

muted fractal
#

is there a way to clone?

muted fractal
#

i found a way to clone

muted fractal
#

how do i add multiple options to my requiredPermissions for my door

muted fractal
#

so perm + perm

modern briar
#

yes

modern briar
muted fractal
#

@modern briar can you add so like you can disable that the doors can get destroyed?

vivid raft
#

@modern briarWhen you add lockers for SCPs and GUNs?

haughty summit
#

I don't wanna ping him so I'm just gonna ask it, but do Custom Items not work yet? They won't spawn in my schematics, I tried debug number and the name of the item neither work

#

However before they did spawn and the parameters for the customitems are still in the Unity component so I'm confused

grizzled orchid
#

so no support for exiled features

#

as long as michal doesnt remove the custom item id field, it should be fine tho

#

just make an exiled extension

haughty summit
#

Custom item Id doesn't work either

#

Fuck man

grizzled orchid
#

Yeah it doesnt

#

but im saying if michal leaves it in, it should work fine

#

as long as its explicitly programmed in by a third party

#

does items in schematics work normally?

haughty summit
#

They spawn, they just don't spawn as a custom item. For example, I have two syringes in my medibay, but they spawn as normal adrenaline

#

So they spawn just not as a custom item.

grizzled orchid
#

Okay

#

well if I can figure out how theyre spawned I can whip up a solution for this later

#

post it on the MER discord

haughty summit
#

Bet

modern briar
#

For now CustomItems are not supported as there isn't an equivalent of CustomItems in LabAPI

haughty summit
#

Also nah, three pings goes crazy

modern briar
#

I wonder whether I can do it without needing to load the entire EXILED

haughty summit
#

Won't it be easy. just tell the plugin to grab an EXILED custom item if this is filled try and get the filled in id or whatever

#

I think this should be last since I really want the lockers to come back and shit. But I doubt this would be very hard

modern briar
haughty summit
#

Can't wait for my armory to come back

grizzled orchid
haughty summit
nocturne walrus
#

:(

haughty summit
#

@modern briar I found a bug where if you have ammo placed it will just infinitely spawn, allowing players to just keep going back and grabbing it again

#

Me and another player sat near one trying to see if you could pick them all up, and in the 5 minutes we sat there we still had more left

modern briar
haughty summit
#

K

haughty summit
#

Also will text toys be implemented in MER

modern briar
haughty summit
#

How do I access them?

modern briar
#

in toolgun

haughty summit
#

Bruh

#

I hae no idea how to use tg man

#

Why not unity

modern briar
#

not yet implemeted in Unity

broken pebble
#

@steady crater

#

here

muted fractal
#

@modern briar is it possible to make my remotekeycard work with these doors that i have made?

modern briar
#

they should work by default I guess

muted fractal
#

weird then

muted fractal
#

is there a way to add a chance for it to spawn and different items can spawn with different chances @modern briar

haughty summit
muted fractal
#

yeah

fluid flint
#
[2025-06-14 23:09:44.677 +09:00] [ERROR] [LabApi] 'FileNotFoundException' occured while invoking 'OnServerRoundStarted' on 'ProjectMER.Events.Handlers.Internal.MapOnEventHandlers': 'Failed to load map data: File  SurfaceWorkShop4.yml does not exist!', stack trace:
                                   at ProjectMER.Features.MapUtils.GetMapData (System.String mapName) [0x0002e] in <f7c13e52e5f84324bc791f847c8a3594>:0
                                   at ProjectMER.Features.MapUtils.LoadMap (System.String mapName) [0x00000] in <f7c13e52e5f84324bc791f847c8a3594>:0
                                   at ProjectMER.Events.Handlers.Internal.MapOnEventHandlers.LoadMap (System.String mapName) [0x00000] in <f7c13e52e5f84324bc791f847c8a3594>:0
                                   at ProjectMER.Events.Handlers.Internal.MapOnEventHandlers.HandleActionList (System.Collections.Generic.List`1[T] list) [0x00042] in <f7c13e52e5f84324bc791f847c8a3594>:0
                                   at ProjectMER.Events.Handlers.Internal.MapOnEventHandlers.OnServerRoundStarted () [0x0000b] in <f7c13e52e5f84324bc791f847c8a3594>:0
                                   at LabApi.Events.EventManager.InvokeEvent (LabApi.Events.LabEventHandler eventHandler) [0x0001d] in <ed207da941d64f12942f0c5cc79632fc>:0

I think plugin cannot read .yml files...

brittle pumice
fluid flint
#

oh that's the old version

#

hmm...strange why the map config is not working...?

brittle pumice
fluid flint
#
on_waiting_for_players:
- load: Workshop4
on_round_started:
- load: Workshop4
on_lcz_decontamination_started:
- load: Workshop4
on_warhead_started: []
on_warhead_stopped: []
on_warhead_detonated: []

did I use config properly?

haughty summit
haughty summit
#

@modern briar For some reason it's not spawning the players it keeps putting them in spectator and round is forever in Lobby

modern briar
#

what is not spawning

haughty summit
#

The players themselves

#

They won't spawn normally and are just put in Spectator. I went through every plugin and it only happens with yours for some reason smh

muted fractal
modern briar
muted fractal
#

YAY LOCKERS

#

good thing i know how to edit the save file cause i had to remove stuff i couldn't remove 😄

modern briar
#

you can also change IDs

muted fractal
#

i just saved and then removed them from the file lol

fluid flint
#

when the Custom-Objects will be update??

modern briar
fluid flint
limpid lake
forest tree
#

i need some help

#

it says that i dont have perms to use commands

#

but i am the owner

forest tree
#

ok well i got it to work but i cant add anything using the tool gun

forest tree
#

@limpid lake ?

#

i dont know whats wrong

#

anyone willing to help me out?

grizzled orchid
#

a List in yaml, if empty looks like [], but if not empty then its a set of dashes followed by the entry

forest tree
#

Ok

grizzled orchid
#

also, you should only have it load once

forest tree
#

Ok

#

It isn't loading at all

grizzled orchid
#

also also, i think you remove the space in between "load:" and the map

grizzled orchid
forest tree
#

It does

#

But when round

#

It doesnt

grizzled orchid
#

did you try removing the one from waiting for players

forest tree
#

wait

#

is this correct?

#

@grizzled orchid it didnt work

grizzled orchid
forest tree
#

kk

grizzled orchid
grizzled orchid
forest tree
#

let me try again

#

worked now

#

thank you

#

so much

grizzled orchid
#

no problem

#

glad it fixed!

vital glade
#

WARN] [ProjectMER] Locker is not yet implemented. Object will be an empty GameObject instead , are the lockers not yet implemented?

#

@modern briar

modern briar
vital glade
modern briar
#

you can change its type using mp mod Type

rancid pilot
modern briar
modern briar
#

@Pre-release Version Tester https://github.com/Michal78900/ProjectMER/releases/tag/2025.7.25.1

I also updated SL-CustomObjects a bit (dev branch) https://github.com/Michal78900/SL-CustomObjects/archive/refs/heads/dev.zip

  • Added new menu item called "MER Blocks" to the Right Click menu (it's recommended way of creating blocks, instead of placing prefabs)
  • Removed AutoComponent added in favor of the new way creating blocks
  • Added Text and Interactable blocks
  • Rewrote the schematic decompiler
  • Added ability to mark object as Static which will be reflected in-game.

To move your existing schematics you need to use the built-in decompiler, instead of moving files directly. Create a new project, make backups.

GitHub

Implemented Interactable object
Added missing DisplaySize property for Text object (currently editable only in the map file)

fluid flint
modern briar
modern briar
fluid flint
modern briar
modern briar
winter hare
rancid pilot
winter hare
rancid pilot
#

gihub, didn't know Michal uploads to gihub

#

Anyways

rancid pilot
winter hare
winter hare
rancid pilot
#

I would recommend reading it

#

It got everything covered

winter hare
#

I wront (i don’t speak english)

winter hare
winter hare
#

(In DM if possible)

rancid pilot
#

I'm currently not able to, I'm not home

#

Most possibly you are missing harmony dependency

winter hare
winter hare
forest tree
#

is there any way to make doors unable to be exploded by nades?

#

@modern briar ?

fringe pebble
#

Idk about using MER if that's what you mean specifically but it's really easy to make a door unable to be blown up

forest tree
#

@fringe pebble can you help me with it???

#

and i also need help removing some items from the actual code

#

and add em using mer plugin

fringe pebble
# forest tree <@434572461011501067> can you help me with it???
public class IndestructibleMicroDoor : CustomEventsHandler
{
  public override void OnServerWaitingForPlayers()
  {
    BreakableDoor microDoor = BreakableDoor.List.First(x => x.DoorName == DoorName.HczHidChamber);
    microDoor.IgnoreDamageSources = DoorDamageType.Grenade;
  }
}
#

Just get a list of BreakableDoors you want to be invulnerable to grenades, and then change the BreakableDoor.IgnoreDamageSources to be DoorDamageType.Grenade

forest tree
#

thanks

fluid flint
#

No new release??

sudden scaffold
#

Why would there be?

#

Honest question

fluid flint
#

Teleporter

#

I know that is not working...

modern briar
glossy kiln
#

Anyone else having problems with pickups from schematics? They only become visible for a player if he reconnects. Only happened after the 14.1.4 release

sleek tusk
#

Probably a sync issue

glossy kiln
# sleek tusk Probably a sync issue

Yea, thought so - i delayed the spawn of my machines by 2 seconds - the interactive button is now being visible for everyone but not the normal pickups which are behind a glass x) I've ran out of ideas but at least they work now. But yea there are still some pickups not synced

zealous shale
#

they broke IsKinematic freezing

zealous shale
#

so with OnWaitingPlayer event

glossy kiln
forest tree
#

im still a bit stuck on making the doors unexplodable

forest tree
#

and btw the gravity doesnt work

fringe pebble
forest tree
#

well i have made a schematic and using mer i spawned a door in

#

and im trying to make that specific door unexplodable

modern briar
green vector
#

Does anyone know the correct ra command to give a teleporter a target? Mp mod add id didn’t work

broken pebble
#

You forgot to put what property you are modifying.

green vector
broken pebble
vast zinc
#

Does someone have problem with doors? When i place them, some times people start to drop under map. When i delete doors, people get teleported back. Someone know how to fix it?

brittle pumice
#

Generally just join the MER discord for support

green vector
green vector
gritty lake
#

A schematic must have the fully compiled folder including the .json file

zealous shale
zealous shale
green vector
#

Does anyone know how I’d go about making it to where the game will randomly choose out of maps I specify to load at the beginning of a round?

brittle pumice
green vector
#

bc its still not working :(

brittle pumice
green vector
brittle pumice
#

It looks correct, sr the server and see if an error shows up from the ProjectMER/config.yml

green vector
brittle pumice
#

That's a troubleshooting issue... go to the actual support channel and slowly add the items back into the map files. shrug

green vector
#

Currently trying to figure out how to fix the pick map from list command sometimes choosing a vanilla map instead of the 3 I gave it, anyone know how to do this?

green vector
green vector
#

Does anyone know how to fix the game not loading a map when using the load a| | b | |c command?

green vector
# prime portal no

This spawns all of the maps. Im trying to have it randomly select one map out of the 3 maps I have but the command that’s supposed to do it does not consistently spawn one in

sudden bay
#

im gonna use it on my gamemode server

sudden bay
haughty summit
#

It happens with other rooms like the room variants in Heavy Containment and Entrance Zones

haughty summit
#

No

#

It's not lol

#

If it is its very strange that I can have the exact same schematic for Junk Mains and ThreeWays. They should be separate room types.