Find tutorials, documentation, and resources for creating and using TheoTown plugins.
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 04 Oct 2017, 23:55
! Message from: TheoTown The presented way of packaging plugins is deprecated. We are using .ttplugin files now which can be generated here .
Screenshot_20171005-014645.png
Screenshot_20171005-014903.png
Screenshot_20171005-014917.png
You do not have the required permissions to view the files attached to this post.
Josh
Inhabitant of a Galaxy Reactions:
Posts: 2213 Joined: 11 Mar 2017, 17:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
Post
by Josh » 05 Oct 2017, 00:02
Does it change files into a ".plugin", cool!
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 05 Oct 2017, 08:19
@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?
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 05 Oct 2017, 12: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.
JustAnyone
Honorary Contributor Reactions:
Posts: 3666 Joined: 23 Jul 2017, 10:45
Location: Easter Island
Plugins: Showcase Store
Platform
Post
by JustAnyone » 05 Oct 2017, 12:53
So if I encrypt it, can I decrypt it if I am plug-in creator?
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 05 Oct 2017, 12:56
JustAnyone
Honorary Contributor Reactions:
Posts: 3666 Joined: 23 Jul 2017, 10:45
Location: Easter Island
Plugins: Showcase Store
Platform
Post
by JustAnyone » 05 Oct 2017, 13:05
So I should have a copy of .json if I will want to change it?
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 05 Oct 2017, 13:17
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.
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 05 Oct 2017, 13: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.
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 07 Oct 2017, 16:29
@KINGTUT10101 Are you sure that this was the error? Maybe it was tried to load it twice.
KINGTUT10101
1,000,000 inhabitants Reactions:
Posts: 2211 Joined: 07 Jul 2016, 20:50
Location: 'Merica
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
Post
by KINGTUT10101 » 07 Oct 2017, 16:59
Screenshot_20171007-115818.png
Screenshot_20171007-115848.png
Screenshot_20171007-115855.png
You do not have the required permissions to view the files attached to this post.
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 07 Oct 2017, 17:12
Looks like a ordering issue
Lobby
Inhabitant of a Supercluster Reactions:
Posts: 3759 Joined: 26 Oct 2008, 10:34
Plugins: Showcase Store
Post
by Lobby » 08 Oct 2017, 11:50
If I pack your plugin and move it into my plugins folder it works as intendend
motomo
Small-town resident Reactions:
Posts: 36 Joined: 08 Aug 2017, 05:58
Location: Easternia
Plugins: Showcase Store
Platform
Post
by motomo » 25 Oct 2017, 13:27
KoalaGuy wrote: 08 Oct 2017, 11: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?
JustAnyone
Honorary Contributor Reactions:
Posts: 3666 Joined: 23 Jul 2017, 10:45
Location: Easter Island
Plugins: Showcase Store
Platform
Post
by JustAnyone » 25 Oct 2017, 16:22
Same as me.
Question!
Does this encrypt all folders in /plugin or named folder?
JustAnyone
Honorary Contributor Reactions:
Posts: 3666 Joined: 23 Jul 2017, 10:45
Location: Easter Island
Plugins: Showcase Store
Platform
Post
by JustAnyone » 01 Nov 2017, 07:07
You do not have the required permissions to view the files attached to this post.