Teleportation System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 18, 2014.
-
Where can I find the m-Teleportion.lua that supports EntityOwner?
cheers -
Is it possible to set it so that players can not /tpr or /home at all when they are in a building blocked zone?
-
I simply can not find this version for entityowner.
Could anyone link me to the m-teleportation that uses entityowner? -
EntityOwner | Oxide -
Hi,
Any plans to update this mod to use Rust's building ownership rather than having a dependency on the Building Owners mod?
I only ask it reduces overhead on the server.
Cheers,
Myles -
Lua only supports numbers, which are effectively double types.
When acquiring the OwnerID from Rust via the C# binding, the ID is converted to a number, which lacks the precision
to display OwnerIDs.
A way around this is to use a plugin in C# that has an API and converts these numbers to strings, the updated version of EntityOwner does this.
So to use this plugin together with OwnerIDs, you'd have to use it together with EntityOwner instead of raw OwnerIDs. -
Code:
-- Check if the player owns the foundation if required. if self.Config.Homes.CheckFoundationForOwner then local blockOwner = rust.OwnerIDFromEntity(block) if playerID ~= blockOwner then -- The player is not standing on a owned foundation, -- send the player a message if the foundation is also -- not owned by a friend if this is enabled in the -- settings. if self.Config.Homes.UseFriendsAPI and not FriendsAPI.Object:HasFriend( blockOwner, playerID ) then -- The player is not standing on a foundation owned -- by a friend. self:SendMessage( player, self.Config.Messages.HomeFoundationNotFriendsOwned ) return end if not self.Config.Homes.UseFriendsAPI then self:SendMessage( player, self.Config.Messages.HomeFoundationNotOwned ) return end end end end
-
hey guys was just curious if there was a command to wipe everyones saved homes. i try to delete the file in data but everytime i reload the plugin it re populates it with the old homes.
-
-
life saver thank you
-
Fix for the new friends plugin
Attached Files:
-
-
-
-
hey guys having another issue, i updated to the newest m-teleportation but now im just getting null under data/m-teleportation.json anyone know what would be causing this?
-
-
-
-
I added a setting 'BlockOnBuildingBlocked' for the Friends fixed version Resistance posted earlier. Set to false for Home or TPR to allow teleports from building blocked areas.
Attached Files:
-
-
thank you so much for adding that.