Plugin encryption (create .plugin file)
Moderator: Plugin Moderators
- CommanderABab
- AB
- Posts: 11193
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: [Beta]Plugin encryption
It only encrypts folders in the root plugin directory.
- Lobby
- Developer
- Posts: 3714
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: [Beta]Plugin encryption
From ZipInputStream.available() Java Documentation:
The fix is to ignore available() and just try to read the data
So this method should return a value >0 if there're data available to be read. Unfortunately it looks as if some implementations don't follow this documentation and return always 0. That's why it couldn't extract plugin files properly on some devices.Returns 0 after EOF has reached for the current entry data, otherwise always return 1.
Programs should not count on this method to return the actual number of bytes that could be read without blocking.
The fix is to ignore available() and just try to read the data
- SenyaBell
- Bell
- Posts: 867
- Joined: 02 Oct 2020, 11:18
- Location: Saratov
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Plugin encryption (create .plugin file)
export:{dir:"text"}
- Bevise
- Micy's Assistant
- Posts: 504
- Joined: 27 Feb 2020, 15:39
- Location: Phu Quoc Island, Vietnam
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Plugin encryption (create .plugin file)
Can the game load a *.zip plugin file with a password?
They won't be able to get a hand on my privileged key without my password as well.
They won't be able to get a hand on my privileged key without my password as well.
- JustAnyone
- Developer
- Posts: 3541
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Plugin encryption (create .plugin file)
Why can't you upload .plugin files to the store? I tried this before (forgot to ask here) but it says that it doesn't have the json or graphics in it. I think it was a plugin with my privileged code so I encrypted it
- CommanderABab
- AB
- Posts: 11193
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Plugin encryption (create .plugin file)
As far as I know, you can. The preview image will have to be separate.
- TheFennekin
- Neighborhood fox
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Plugin encryption (create .plugin file)
Hmm, will try again once my new project is done to test it
Re: Plugin encryption (create .plugin file)
Hey Lobby. Can't create .plugin file