Plugin encryption

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Plugin encryption

#1

Post by Lobby » Thu Oct 05, 2017 1:55

Screenshot_20171005-014645.png
Screenshot_20171005-014903.png
Screenshot_20171005-014917.png
:teach
...Have a nice stay

User avatar
Josh
Graphic designer
Reactions:
Posts: 2212
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta
Phone model: Iphone 7

Platform

Re: [Beta]Plugin encryption

#2

Post by Josh » Thu Oct 05, 2017 2:02

Does it change files into a ".plugin", cool!
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you🌲

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: [Beta]Plugin encryption

#3

Post by Lobby » Thu Oct 05, 2017 10:19

[mention]Josh[/mention] Yes, it grabs all files in the provided directory and throws them into a single .plugin-file you could then distribute to players. They just have to put it in the plugins directory as usual. The same works with zip files now, too.

[mention]KoalaGuy[/mention] Did you manage to decrypt them? :bq
...Have a nice stay

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1886
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Re: [Beta]Plugin encryption

#4

Post by KINGTUT10101 » Thu Oct 05, 2017 14:36

You should make it so the .zip can be read even if the folder was zipped and not the contents of that folder.

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: [Beta]Plugin encryption

#5

Post by Lobby » Thu Oct 05, 2017 14:37

[mention]KINGTUT10101[/mention] that should actually work, doesn't it? Internally, zip and plugin files are just extracted (with all sub directories) and threated then as any other plugin.
...Have a nice stay

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2595
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: [Beta]Plugin encryption

#6

Post by JustAnyone » Thu Oct 05, 2017 14:53

So if I encrypt it, can I decrypt it if I am plug-in creator?

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: [Beta]Plugin encryption

#7

Post by Lobby » Thu Oct 05, 2017 14:56

[mention]JustAnyone[/mention] No.
...Have a nice stay

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2595
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: [Beta]Plugin encryption

#8

Post by JustAnyone » Thu Oct 05, 2017 15:05

So I should have a copy of .json if I will want to change it?

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: [Beta]Plugin encryption

#9

Post by Lobby » Thu Oct 05, 2017 15:17

Yes, that would be appropriate :bc
The idea is that you don't use your own .plugin file, that's why it's created outside of the plugins directory.
...Have a nice stay

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: [Beta]Plugin encryption

#10

Post by Lobby » Thu Oct 05, 2017 15:19

A note: You can put .plugin files into .plugin files. This way you can share common used plugins (which use the "once":true flag) without leaking their internals and bundle them in new plugins.
...Have a nice stay

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1886
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Re: [Beta]Plugin encryption

#11

Post by KINGTUT10101 » Fri Oct 06, 2017 0:58

Lobby wrote:
Thu Oct 05, 2017 14:37
@KINGTUT10101 that should actually work, doesn't it? Internally, zip and plugin files are just extracted (with all sub directories) and threated then as any other plugin.
I tried it with my elevated terrain and it didn't work. It gave me the error because the elevated terrain add-ons use a special category and it wasn't loaded

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: [Beta]Plugin encryption

#12

Post by Lobby » Sat Oct 07, 2017 18:29

[mention]KINGTUT10101[/mention] Are you sure that this was the error? Maybe it was tried to load it twice.
...Have a nice stay

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1886
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Platform

Re: [Beta]Plugin encryption

#13

Post by KINGTUT10101 » Sat Oct 07, 2017 18:59

Screenshot_20171007-115818.png
Screenshot_20171007-115848.png
Screenshot_20171007-115855.png

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: [Beta]Plugin encryption

#14

Post by Lobby » Sat Oct 07, 2017 19:12

Looks like a ordering issue :mine
...Have a nice stay

User avatar
CommanderABab
AB
Reactions:
Posts: 7563
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: [Beta]Plugin encryption

#15

Post by CommanderABab » Sun Oct 08, 2017 13:45

That's an extra comma after an } before an ]
746!746Currently using beta 746. 746 What's new? :)
lit trfc lights!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Lobby
Developer
Reactions:
Posts: 3331
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: [Beta]Plugin encryption

#16

Post by Lobby » Sun Oct 08, 2017 13:50

If I pack your plugin and move it into my plugins folder it works as intendend :?
...Have a nice stay

User avatar
motomo
Small-town resident
Reactions:
Posts: 36
Joined: Tue Aug 08, 2017 7:58
Location: Easternia
Plugins: Show
Phone model: Android 5.0 Lollipop

Platform

Re: [Beta]Plugin encryption

#17

Post by motomo » Wed Oct 25, 2017 15:27

KoalaGuy wrote:
Sun Oct 08, 2017 13:22
Screenshot_20171008-132100.png
I have the same problem like this one,
and I don't know how to fix it :?

Why I always got this error message, can someone help me?

Image

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2595
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: [Beta]Plugin encryption

#18

Post by JustAnyone » Wed Oct 25, 2017 18:22

Same as me.
Question!
Does this encrypt all folders in /plugin or named folder?

User avatar
CommanderABab
AB
Reactions:
Posts: 7563
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: [Beta]Plugin encryption

#19

Post by CommanderABab » Wed Oct 25, 2017 19:28

All files in named folder and its subfolders are placed in the .plugin file.
746!746Currently using beta 746. 746 What's new? :)
lit trfc lights!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2595
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: [Beta]Plugin encryption

#20

Post by JustAnyone » Wed Nov 01, 2017 9:07

:space
Attachments
Screenshot_2017-11-01-09-05-01-331_info.flowersoft.theotown.theotown.png

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest