Portals

Create portals allowing players to walk through to another location

Total Downloads: 3,776 - First Release: Jul 16, 2015 - Last Update: Nov 23, 2017

5/5, 17 likes
  1. type /portal to see all commands. Also they are shown on the overview. There currently only is the wipe command. You gotta open the config. This is where the portals are saved. Simply delete the part of the Portal you want to delete.
     
  2. i put this plugin but i can load it


    when on game i can't type /Portal its nothing happn
    (Command not found)

    wht haappn helpp me plz
     
  3. Seek for errors in the console/logs.
     
  4. Today I was setting up some portals, and my server crashed for about 2 minutes before I finally just killed it. If it's relevant, I accidentally set a one way entrance on top of a one way exit.

    Code:
    [admin] giving Rokaroo 1 x Hammer
    TimeWarning: AIHandler.Cycle took 0.16 seconds (160ms)
    [Oxide] 12:59 PM [Info] [Quests] Quest progress saved!
    [Oxide] 12:59 PM [Info] [Zeiser Levels] Saving Plugin Data
    [Oxide] 1:00 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Info] Loaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Error] Failed to initialize plugin 'Portals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:00 PM [Debug]   at Oxide.Plugins.Portals.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 1:00 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Info] Rolling back plugin to last good version: Portals
    [Oxide] 1:00 PM [Info] Loaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Error] Failed to initialize plugin 'Portals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:00 PM [Debug]   at Oxide.Plugins.Portals.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 1:00 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Info] Rolling back plugin to last good version: Portals
    [Oxide] 1:00 PM [Info] Loaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Error] Failed to initialize plugin 'Portals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:00 PM [Debug]   at Oxide.Plugins.Portals.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 1:00 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Info] Rolling back plugin to last good version: Portals
    [Oxide] 1:00 PM [Info] Loaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Error] Failed to initialize plugin 'Portals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:00 PM [Debug]   at Oxide.Plugins.Portals.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 1:00 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Info] Rolling back plugin to last good version: Portals
    [Oxide] 1:00 PM [Info] Loaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Error] Failed to initialize plugin 'Portals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:00 PM [Debug]   at Oxide.Plugins.Portals.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 1:00 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Info] Rolling back plugin to last good version: Portals
    [Oxide] 1:00 PM [Info] Loaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:00 PM [Error] Failed to initialize plugin 'Portals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:00 PM [Debug]   at Oxide.Plugins.Portals.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0//error message repeats for 2 minutes before i crash the server[Oxide] 1:02 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:02 PM [Info] Rolling back plugin to last good version: Portals
    [Oxide] 1:02 PM [Info] Loaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:02 PM [Error] Failed to initialize plugin 'Portals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:02 PM [Debug]   at Oxide.Plugins.Portals.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 1:02 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 1:02 PM [Info] Rolling back plugin to last good version: Portals
    I saved the config file before I crashed the server, incomplete as you can see. If you look at "SE" entrance and "SEchamber" exit (both one ways) you'll see they're basically right on top of each other, i'm not sure if that matters or not, just thought it was interesting, maybe I broke the plugins brain with a paradox?

    Code:
    {
      "Effects": {
        "Enabled": "false",
        "Height": "2.5",
        "Spacing": "0.2"
      },
      "NE": {
        "EntranceX": -189,
        "EntranceY": 302,
        "EntranceZ": -2025,
        "ExitX": 898,
        "ExitY": 51,
        "ExitZ": 772,
        "OneWay": "true",
        "Permission": "portals.use",
        "Radius": 2
      },
      "NEchamber": {
        "ExitX": -199,
        "ExitY": 301,
        "ExitZ": -2038,
        "OneWay": "true",
        "Permission": "portals.use",
        "Radius": 2
      },
      "NW": {
        "EntranceX": -213,
        "EntranceY": 302,
        "EntranceZ": -2030,
        "ExitX": -567,
        "ExitY": 43,
        "ExitZ": 1119,
        "OneWay": "true",
        "Permission": "portals.use",
        "Radius": 2
      },
      "NWchamber": {
        "EntranceX": -568,
        "EntranceY": 43,
        "EntranceZ": 1118,
        "ExitX": -200,
        "ExitY": 301,
        "ExitZ": -2038,
        "OneWay": "true",
        "Permission": "portals.use",
        "Radius": 2
      },
      "PresetPortal": {
        "EntranceX": 0,
        "EntranceY": 0,
        "EntranceZ": 0,
        "ExitX": 0,
        "ExitY": 10,
        "ExitZ": 0,
        "OneWay": "false",
        "Permission": "portals.use",
        "Radius": 2
      },
      "SE": {
        "EntranceX": -185,
        "EntranceY": 302,
        "EntranceZ": -2046,
        "ExitX": 346,
        "ExitY": 12,
        "ExitZ": -1100,
        "OneWay": "true",
        "Permission": "portals.use",
        "Radius": 2
      },
      "SEchamber": {
        "EntranceX": 344,
        "EntranceY": 12,
        "EntranceZ": -1101,
        "ExitX": -199,
        "ExitY": 301,
        "ExitZ": -2038,
        "OneWay": "true"
      },
      "SW": {
        "EntranceX": -209,
        "EntranceY": 302,
        "EntranceZ": -2051,
        "ExitX": -866,
        "ExitY": 15,
        "ExitZ": -981,
        "OneWay": "true",
        "Permission": "portals.use",
        "Radius": 2
      },
      "SWchamber": {
        "ExitX": -199,
        "ExitY": 301,
        "ExitZ": -2038,
        "OneWay": "true"
      },
      "TeleportTimer": 10
    }
     
  5. Hello, how can i set the admin eable to create a portal? and how can I set all the server's users eble to use the portal?
     


  6. oxide.grant group admin portals.admin
    oxide.grant group player portals.use

    In console. FYI, any mod that uses the oxide permissions system follows similar syntax; i.e.

    oxide.grant user "Von Grubell" "name of permission"

    would give you w/e permission you needed
     
  7. What is "one way"? means that you can not use it to go back right?
     
  8. Correct
     
  9. Code:
    [Oxide] 2:51 PM [Info] Portals was compiled successfully in 1735ms
    [Oxide] 2:51 PM [Info] Loaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 2:51 PM [Error] Failed to initialize plugin 'Portals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 2:51 PM [Debug]   at Oxide.Plugins.Portals.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 2:51 PM [Info] Unloaded plugin Portals v1.3.1 by LaserHydra
    [Oxide] 2:51 PM [Info] No previous version to rollback plugin: Portals
     
  10. Show me your config please.
    [DOUBLEPOST=1443561107][/DOUBLEPOST]
    you need

    EntranceX
    EntranceY
    EntranceZ
    ExitX
    ExitY
    ExitZ
    OneWay
    Permission
    Radius

    All these for every portal. You should not remove them.
     
  11. i use default config .. i cant load portal in game ,,:((
     
  12. how can I set me to use the portal function? ( I am the admin of the server)
     
  13. check the overview Portals for Rust Experimental | Oxide
    It uses Oxide Permissions.
    Console Command: grant user <YourName> <Permission>
     
  14. The name of the permission is: portals?
     
  15. no. You did not check the overview, did you. You gotta give your users / the player group the permission portals.use
    and your admins portals.admin or portals.*
     
  16. I cecked the overview, bud I do not understand... I have to write: grant player gruop porta.use ritgh? and then grant admin group portals.admin ?
     
  17. grant <user|group> <Username/Groupname> <Permission>
     
  18. I tryed like this grant "admin" "Hans Von Grobel" "portals.admin" and grant "admin" "Hans Von Grobel" "portals" but it says that this 2 command do no exist
     
  19. Code:
    grant user "Hans Von Grobel" portals.use
     
  20. It says: permission 'portals.use' do not exist
     
    Last edited by a moderator: Oct 2, 2015