
Plugin encryption
Moderator: Plugin Moderators
- Josh
- Graphic designer
- Reactions:
- Posts: 2212
- Joined: Sat Mar 11, 2017 19:20
- Location: The Netherlands
- Plugins: Show
- Version: Beta
- Phone model: Iphone 7
Re: [Beta]Plugin encryption
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
Creator of Aldorria, Covinton Empire, West Country, Sunnydale
Save nature, before it kills you
- Lobby
- Developer
- Reactions:
- Posts: 3384
- Joined: Sun Oct 26, 2008 12:34
- Plugins: Show
- Version: Beta
- Phone model: S7 edge
Re: [Beta]Plugin encryption
@Josh 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.
@KoalaGuy Did you manage to decrypt them?
@KoalaGuy Did you manage to decrypt them?

...
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 1945
- Joined: Thu Jul 07, 2016 22:50
- Location: 'Merica
- Plugins: Show
- Version: Beta
- Phone model: Moto x4
Re: [Beta]Plugin encryption
You should make it so the .zip can be read even if the folder was zipped and not the contents of that folder.
All of my plug-ins, maps and more:
https://sites.google.com/site/theotownmaps/home
YouTube channel:
https://m.youtube.com/c/kingtut-101
https://sites.google.com/site/theotownmaps/home
YouTube channel:
https://m.youtube.com/c/kingtut-101
- Lobby
- Developer
- Reactions:
- Posts: 3384
- Joined: Sun Oct 26, 2008 12:34
- Plugins: Show
- Version: Beta
- Phone model: S7 edge
Re: [Beta]Plugin encryption
@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.
...
- JustAnyone
- An important pickle
- Reactions:
- Posts: 2701
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
- Phone model: Nokia 3310
Re: [Beta]Plugin encryption
So if I encrypt it, can I decrypt it if I am plug-in creator?
- JustAnyone
- An important pickle
- Reactions:
- Posts: 2701
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
- Phone model: Nokia 3310
Re: [Beta]Plugin encryption
So I should have a copy of .json if I will want to change it?
- Lobby
- Developer
- Reactions:
- Posts: 3384
- Joined: Sun Oct 26, 2008 12:34
- Plugins: Show
- Version: Beta
- Phone model: S7 edge
Re: [Beta]Plugin encryption
Yes, that would be appropriate
The idea is that you don't use your own .plugin file, that's why it's created outside of the plugins directory.

The idea is that you don't use your own .plugin file, that's why it's created outside of the plugins directory.
...
- Lobby
- Developer
- Reactions:
- Posts: 3384
- Joined: Sun Oct 26, 2008 12:34
- Plugins: Show
- Version: Beta
- Phone model: S7 edge
Re: [Beta]Plugin encryption
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.
...
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 1945
- Joined: Thu Jul 07, 2016 22:50
- Location: 'Merica
- Plugins: Show
- Version: Beta
- Phone model: Moto x4
Re: [Beta]Plugin encryption
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
All of my plug-ins, maps and more:
https://sites.google.com/site/theotownmaps/home
YouTube channel:
https://m.youtube.com/c/kingtut-101
https://sites.google.com/site/theotownmaps/home
YouTube channel:
https://m.youtube.com/c/kingtut-101
- Lobby
- Developer
- Reactions:
- Posts: 3384
- Joined: Sun Oct 26, 2008 12:34
- Plugins: Show
- Version: Beta
- Phone model: S7 edge
Re: [Beta]Plugin encryption
@KINGTUT10101 Are you sure that this was the error? Maybe it was tried to load it twice.
...
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 1945
- Joined: Thu Jul 07, 2016 22:50
- Location: 'Merica
- Plugins: Show
- Version: Beta
- Phone model: Moto x4
Re: [Beta]Plugin encryption
All of my plug-ins, maps and more:
https://sites.google.com/site/theotownmaps/home
YouTube channel:
https://m.youtube.com/c/kingtut-101
https://sites.google.com/site/theotownmaps/home
YouTube channel:
https://m.youtube.com/c/kingtut-101
- CommanderABab
- AB
- Reactions:
- Posts: 7933
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
- Lobby
- Developer
- Reactions:
- Posts: 3384
- Joined: Sun Oct 26, 2008 12:34
- Plugins: Show
- Version: Beta
- Phone model: S7 edge
Re: [Beta]Plugin encryption
If I pack your plugin and move it into my plugins folder it works as intendend 

...
- JustAnyone
- An important pickle
- Reactions:
- Posts: 2701
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
- Phone model: Nokia 3310
Re: [Beta]Plugin encryption
Same as me.
Question!
Does this encrypt all folders in /plugin or named folder?
Question!
Does this encrypt all folders in /plugin or named folder?
- CommanderABab
- AB
- Reactions:
- Posts: 7933
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: [Beta]Plugin encryption
All files in named folder and its subfolders are placed in the .plugin file.
777!🆎️
- JustAnyone
- An important pickle
- Reactions:
- Posts: 2701
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
- Phone model: Nokia 3310